#D1271D
Closest named color: Cherry (#CF0234). oklch(55.7% 0.206 29.1), rgb(209, 39, 29).
Aa
White text reads best on this color (5.22:1).
About this color
#D1271D is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.206 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.038 away. White text reads best on it, at 5.22:1.
| Hue family | Reds |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.206) |
| Temperature | warm |
| Nearest name | Cherry (#CF0234) |
| Black text | 4.01:1 |
| White text | 5.22:1 |
Values
| HEX | #D1271D |
| RGB | rgb(209, 39, 29) |
| HSL | hsl(3, 76%, 47%) |
| OKLCH | oklch(55.7% 0.206 29.1) |
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 #D1271D | 5.22:1 | AA | Lc -79.5 | Fine for body text |
| Black text on #D1271D | 4.01:1 | AA large text | Lc 30.0 | Dividers and decoration only |
| #D1271D text on white | 5.22:1 | AA | Lc 74.1 | Content text, not long reading |
| #D1271D text on black | 4.01:1 | AA large text | Lc -27.6 | 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
#FEF3F1
oklch(97.2% 0.012 29.9)
-
Step 100
100
#FBE4E0
oklch(93.6% 0.026 29.4)
-
Step 200
200
#F9CDC6
oklch(88.4% 0.051 28.7)
-
Step 300
300
#F7AA9E
oklch(80.9% 0.093 29.1)
-
Step 400
400
#EE7969
oklch(70.7% 0.147 29.3)
-
Step 500
500
#E54F40
oklch(63.1% 0.189 29.1)
-
Step 600
600 (this color)
#D1271D
oklch(55.7% 0.206 29.1)
-
Step 700
700
#B4140E
oklch(49.1% 0.191 29.1)
-
Step 800
800
#921710
oklch(42.6% 0.158 29.1)
-
Step 900
900
#751D16
oklch(37.6% 0.123 28.9)
-
Step 950
950
#45130E
oklch(26.9% 0.078 28.9)
#D1271D 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) | #605519 | 0.222 |
| Deuteranopia (no green cones) | #897910 | 0.200 |
| Tritanopia (no blue cones) | #E70028 | 0.045 |
| Achromatopsia (no color) | #6C6C6C | 0.207 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1271D
#D1271D
oklch(55.7% 0.206 29.1)
- #008392
#008392
oklch(55.8% 0.096 208.8)
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 #D1271D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cherry #CF0234 ΔE 0.038
- Crimson #DC143C ΔE 0.040
- Dull Red #BB3F3F ΔE 0.050
- Sinopia #BB3E03 ΔE 0.052
- Scarlet #BE0119 ΔE 0.053
- Lipstick Red #C0022F ΔE 0.055
- Faded Red #D3494E ΔE 0.057
- Lipstick #D5174E ΔE 0.057
Use #D1271D 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.