#D7231E
Closest named color: Crimson (#DC143C). oklch(56.6% 0.213 28.4), rgb(215, 35, 30).
Aa
White text reads best on this color (5.06:1).
About this color
#D7231E is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.213 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.033 away. White text reads best on it, at 5.06:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.213) |
| Temperature | warm |
| Nearest name | Crimson (#DC143C) |
| Black text | 4.14:1 |
| White text | 5.06:1 |
Values
| HEX | #D7231E |
| RGB | rgb(215, 35, 30) |
| HSL | hsl(2, 76%, 48%) |
| OKLCH | oklch(56.6% 0.213 28.4) |
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 #D7231E | 5.06:1 | AA | Lc -78.4 | Fine for body text |
| Black text on #D7231E | 4.14:1 | AA large text | Lc 31.1 | Non-text elements, placeholder text |
| #D7231E text on white | 5.06:1 | AA | Lc 73.0 | Content text, not long reading |
| #D7231E text on black | 4.14:1 | AA large text | Lc -28.7 | 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
#FEF2F1
oklch(97% 0.013 23.2)
-
Step 100
100
#FCE3E0
oklch(93.5% 0.028 25.9)
-
Step 200
200
#FBCDC6
oklch(88.6% 0.053 28.3)
-
Step 300
300
#F8A99E
oklch(80.8% 0.095 28.1)
-
Step 400
400
#F17768
oklch(70.8% 0.153 28.7)
-
Step 500
500
#E84A3E
oklch(63% 0.196 28.3)
-
Step 600
600 (this color)
#D7231E
oklch(56.6% 0.213 28.4)
-
Step 700
700
#B7060B
oklch(49.2% 0.199 28.4)
-
Step 800
800
#94110F
oklch(42.7% 0.164 28.3)
-
Step 900
900
#771A15
oklch(37.7% 0.128 28.2)
-
Step 950
950
#46120E
oklch(27% 0.081 28.1)
#D7231E 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) | #61561A | 0.231 |
| Deuteranopia (no green cones) | #8C7C10 | 0.209 |
| Tritanopia (no blue cones) | #ED0025 | 0.043 |
| Achromatopsia (no color) | #6E6E6E | 0.215 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7231E
#D7231E
oklch(56.6% 0.213 28.4)
- #008594
#008594
oklch(56.4% 0.097 208.6)
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 #D7231E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Crimson #DC143C ΔE 0.033
- Cherry #CF0234 ΔE 0.039
- Tomato Red #EC2D01 ΔE 0.048
- Imperial Red #E63946 ΔE 0.052
- Red Pantone #EF233C ΔE 0.055
- Lipstick #D5174E ΔE 0.055
- Faded Red #D3494E ΔE 0.055
- Dull Red #BB3F3F ΔE 0.059
Use #D7231E 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.