Skip to content

#E21840 Color

#E21840 is rgb(226, 24, 64) in RGB, hsl(348, 81%, 49%) in HSL, and about cmyk(0%, 89%, 72%, 11%) in CMYK. It has no registered color name of its own — the closest is Crimson (#DC143C), below the threshold most people can see at ΔE 1.87. White text is the more readable choice on this background.

#E21840
HEX#E21840
RGBrgb(226, 24, 64)
HSLhsl(348, 81%, 49%)
HSVhsv(348, 89%, 89%)
CMYKcmyk(0%, 89%, 72%, 11%)
OKLCHoklch(58.4% 0.225 19.7)
LABlab(49.36% 72.38 35.14)
LCHlch(49.36% 80.46 25.90)

What #E21840 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #E21840, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every red in the library.

#E21840 Channel Values

How #E21840 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 226 · G 24 · B 648-bit channels as sent to the display
HSLH 348° · S 81% · L 49%Easiest model for building lighter and darker variants
HSVH 348° · S 89% · V 89%Matches the picker in most design tools
CMYKC 0% · M 89% · Y 72% · K 11%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.73:1 vs white · 4.44:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #E21840 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text4.73:1AA normal AA large AAA normal
Fails AABlack text4.44:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #E21840 in the contrast checker.

Colors That Go With #E21840

Pairings derived from color-wheel relationships. The complementary color sits opposite #E21840; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #E21840

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #E21840.

How #E21840 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#E21840
Protanopia#68683E
Protanomaly#A7533F
Deuteranopia#8B8B31
Deuteranomaly#B46F37
Tritanopia#E12020
Tritanomaly#E21D30
Achromatopsia#737373

Test a full palette in the color blindness simulator.

Using #E21840 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-e21840: #E21840;
CSS backgroundbackground-color: #E21840;
Tailwind configcolors: { 'color-e21840': '#E21840' }
SwiftUIColor(red: 0.886, green: 0.094, blue: 0.251)
Android XML<color name="color_e21840">#E21840</color>
SVG fillfill="#E21840"

More Red Colors

#E21840 sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#E21840 Frequently Asked Questions

What color is #E21840?

#E21840 is a mid-tone red — rgb(226, 24, 64) in RGB and hsl(348, 81%, 49%) in HSL. It carries no registered color name of its own; the closest named color is Crimson (#DC143C), which is below the threshold most people can see at a CIE76 distance of 1.87.

What is the RGB value of #E21840?

#E21840 is rgb(226, 24, 64) — red 226, green 24, and blue 64 on the 0-255 scale.

What is the CMYK value of #E21840?

#E21840 converts to approximately cmyk(0%, 89%, 72%, 11%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #E21840 be black or white?

White text is the more readable choice. #E21840 scores 4.73:1 against white and 4.44:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #E21840 as a CSS color keyword?

No. #E21840 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is crimson (#DC143C) at a CIE76 distance of 1.87, which is below the threshold most people can see.

Open #E21840 in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.