What is hex #FF021B color?

 
The hex code #FF021B is closest to the named color Cadmium Red (#E30022).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 100% red, 1% green and 11% blue, resulting in rgb(255, 2, 27) and hsl(354, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 99%, 89%, 0%).
In the HSV/HSB scale, #FF021B features a hue of 354°, 99% saturation, and 100% brightness.

Hex #FF021B Color Codes & Conversions

Closest Named Color
Cadmium Red (#E30022)
Hex Code #FF021B
Hex8 (RGBA Hex) #FF021BFF
RGB (CSS) rgb(255, 2, 27)
RGBA (CSS) rgba(255, 2, 27, 1)
HSL (CSS) hsl(354, 100%, 50%)
HSLA (CSS) hsla(354, 100%, 50%, 1)
HSV / HSB (354°, 99%, 100%)
CMYK Values (0%, 99%, 89%, 0%)
OKLCH (Modern CSS) oklch(62.9% 0.256 27.3)
CIE-LAB (D65) 53.37, 80.19, 59.32
CIE XYZ 41.47, 21.39, 2.98
Decimal / Binary 16712219
11111111 00000010 00011011

Closest Standards & Equivalents

Closest Web Safe
#FF0033
Inverse Color
#00FDE4
Complementary Color
#02FFE6
Closest Pantone®
Pantone 185 C
Closest RAL
RAL 3026 [Luminous bright red]

#FF021B Grayscale Equivalents

Average
#5F5F5F
Lightness (Desaturation)
#818181
Weighted (BT601)
#505050
Luma (BT709)
#3A3A3A

WCAG 2.1 Color Contrast & Accessibility

Check how #FF021B complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #FF021B

Sample preview of readable typography on top of #FF021B.

Contrast Ratio: 3.98:1
AA Fail AAA Fail

Black Text on #FF021B

Sample preview of readable typography on top of #FF021B.

Contrast Ratio: 5.28:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #FF021B

Preview #FF021B in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FF021B;
Typography Color Preview
color: #FF021B;
Border & Shadow Preview
border: 2px solid #FF021B;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FF021B;
  --color-primary-rgb: 255, 2, 27;
  --color-complementary: #02FFE6;
}
.btn-accent {
  background-color: #FF021B;
  color: #000000;
}

Hex #FF021B Color Palettes

Complementary Palette

The complementary color of #FF021B is #02FFE6. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #FF021B pairs with #FF0299 and #FF6702, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FF021B pairs with #0299FF and #02FF67, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FF021B uses #021BFF and #1BFF02, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FF021B combines #1BFF02, #02FFE6 and #E602FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FF021B pairs with #99FF02, #02FFE6 and #6702FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FF021B

Tints

Tints are created by mixing #FF021B with white, producing lighter variations.

Tones

Tones are created by mixing #FF021B with gray, softening saturation.

Shades

Shades result from mixing #FF021B with black, creating deeper variations.

Hex #FF021B in Programming & CSS Frameworks

Copy the exact syntax for #FF021B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FF021B
Tailwind CSS bg-[#FF021B] text-[#FF021B]
Java (AWT) new Color(255,2,27);
Python Color("#FF021B")
.NET (C#) Color.FromArgb(255, 255,2,27);
Swift / iOS UIColor(red: 1, green: 0.01, blue: 0.11, alpha: 1)
Kotlin / Android Color.rgb(255, 2, 27)