#D7271C
Closest named color: Crimson (#DC143C). oklch(56.8% 0.211 29.3), rgb(215, 39, 28).
Aa
White text reads best on this color (5.00:1).
About this color
#D7271C is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.211 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.036 away. White text reads best on it, at 5.00:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.211) |
| Temperature | warm |
| Nearest name | Crimson (#DC143C) |
| Black text | 4.19:1 |
| White text | 5.00:1 |
Values
| HEX | #D7271C |
| RGB | rgb(215, 39, 28) |
| HSL | hsl(4, 77%, 48%) |
| OKLCH | oklch(56.8% 0.211 29.3) |
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 #D7271C | 5.00:1 | AA | Lc -78.2 | Fine for body text |
| Black text on #D7271C | 4.19:1 | AA large text | Lc 31.4 | Non-text elements, placeholder text |
| #D7271C text on white | 5.00:1 | AA | Lc 72.7 | Content text, not long reading |
| #D7271C text on black | 4.19:1 | AA large text | Lc -29.0 | 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
#FCE4DF
oklch(93.7% 0.027 31.7)
-
Step 200
200
#FACDC5
oklch(88.5% 0.052 29.9)
-
Step 300
300
#F8A99D
oklch(80.8% 0.096 28.9)
-
Step 400
400
#F07767
oklch(70.6% 0.152 29.2)
-
Step 500
500
#E74C3C
oklch(63.1% 0.194 29.4)
-
Step 600
600 (this color)
#D7271C
oklch(56.8% 0.211 29.3)
-
Step 700
700
#B60C06
oklch(49.1% 0.196 29.3)
-
Step 800
800
#94130C
oklch(42.7% 0.163 29.3)
-
Step 900
900
#771B14
oklch(37.7% 0.128 29)
-
Step 950
950
#46120D
oklch(27% 0.081 29)
#D7271C 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) | #625717 | 0.229 |
| Deuteranopia (no green cones) | #8D7D0D | 0.206 |
| Tritanopia (no blue cones) | #ED0028 | 0.045 |
| Achromatopsia (no color) | #6F6F6F | 0.213 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7271C
#D7271C
oklch(56.8% 0.211 29.3)
- #008696
#008696
oklch(56.8% 0.098 209.4)
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 #D7271C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Crimson #DC143C ΔE 0.036
- Cherry #CF0234 ΔE 0.043
- Tomato Red #EC2D01 ΔE 0.046
- Imperial Red #E63946 ΔE 0.051
- Faded Red #D3494E ΔE 0.054
- Red Pantone #EF233C ΔE 0.055
- Lipstick #D5174E ΔE 0.058
- Dull Red #BB3F3F ΔE 0.059
Use #D7271C 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.