#D40E02
Closest named color: Cherry (#CF0234). oklch(55% 0.221 29.7), rgb(212, 14, 2).
Aa
White text reads best on this color (5.43:1).
About this color
#D40E02 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.221 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.037 away. White text reads best on it, at 5.43:1.
| Hue family | Reds |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.221) |
| Temperature | warm |
| Nearest name | Cherry (#CF0234) |
| Black text | 3.86:1 |
| White text | 5.43:1 |
Values
| HEX | #D40E02 |
| RGB | rgb(212, 14, 2) |
| HSL | hsl(3, 98%, 42%) |
| OKLCH | oklch(55% 0.221 29.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D40E02 | 5.43:1 | AA | Lc -80.0 | Fine for body text |
| Black text on #D40E02 | 3.86:1 | AA large text | Lc 29.5 | Dividers and decoration only |
| #D40E02 text on white | 5.43:1 | AA | Lc 74.6 | Content text, not long reading |
| #D40E02 text on black | 3.86:1 | AA large text | Lc -27.2 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#FEF2F0
oklch(97% 0.013 28.9)
-
Step 100
100
#FDE3DF
oklch(93.6% 0.029 28.1)
-
Step 200
200
#FCCCC4
oklch(88.5% 0.056 29.2)
-
Step 300
300
#FAA89B
oklch(80.8% 0.099 29.3)
-
Step 400
400
#F37563
oklch(70.7% 0.159 29.9)
-
Step 500
500
#EB4736
oklch(63.1% 0.203 29.7)
-
Step 600
600 (this color)
#D40E02
oklch(55% 0.221 29.7)
-
Step 700
700
#B70800
oklch(49.2% 0.199 29.7)
-
Step 800
800
#960902
oklch(42.6% 0.17 29.8)
-
Step 900
900
#79180F
oklch(37.8% 0.133 29.8)
-
Step 950
950
#47110B
oklch(27% 0.084 29.8)
#D40E02 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #5B4F00 | 0.241 |
| Deuteranopia (no green cones) | #887800 | 0.213 |
| Tritanopia (no blue cones) | #EA0013 | 0.045 |
| Achromatopsia (no color) | #6A6A6A | 0.222 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D40E02
#D40E02
oklch(55% 0.221 29.7)
- #008090
#008090
oklch(55% 0.095 210)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D40E02, closest first.
No curated palette has a color within ΔE 0.04 of #D40E02.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cherry #CF0234 ΔE 0.037
- Crimson #DC143C ΔE 0.043
- Scarlet #BE0119 ΔE 0.050
- Lipstick Red #C0022F ΔE 0.054
- Tomato Red #EC2D01 ΔE 0.060
- Sinopia #BB3E03 ΔE 0.061
- Lipstick #D5174E ΔE 0.062
- Ruby #CA0147 ΔE 0.063
Use #D40E02 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.