#DF2871
Closest named color: Cerise (#DE0C62). oklch(59.7% 0.219 3.7), rgb(223, 40, 113).
Aa
Black text reads best on this color (4.67:1).
About this color
#DF2871 is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.219 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Cerise (#DE0C62), ΔE 0.024 away. Black text reads best on it, at 4.67:1.
| Hue family | Reds |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.219) |
| Temperature | warm |
| Nearest name | Cerise (#DE0C62) |
| Black text | 4.67:1 |
| White text | 4.48:1 |
Values
| HEX | #DF2871 |
| RGB | rgb(223, 40, 113) |
| HSL | hsl(336, 74%, 52%) |
| OKLCH | oklch(59.7% 0.219 3.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 #DF2871 | 4.48:1 | AA large text | Lc -74.9 | Content text, not long reading |
| Black text on #DF2871 | 4.67:1 | AA | Lc 34.7 | Non-text elements, placeholder text |
| #DF2871 text on white | 4.48:1 | AA large text | Lc 69.4 | Content text, not long reading |
| #DF2871 text on black | 4.67:1 | AA | Lc -32.3 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#FFF2F4
oklch(97.2% 0.014 6.7)
-
Step 100
100
#FDE2E7
oklch(93.6% 0.03 5)
-
Step 200
200
#FCC9D5
oklch(88.4% 0.06 2.7)
-
Step 300
300
#FBA3B9
oklch(80.8% 0.107 3.5)
-
Step 400
400
#F46C95
oklch(70.7% 0.171 3.6)
-
Step 500
500 (this color)
#DF2871
oklch(59.7% 0.219 3.7)
-
Step 600
600
#D20065
oklch(55.6% 0.224 3.7)
-
Step 700
700
#B20054
oklch(49.2% 0.198 3.9)
-
Step 800
800
#930045
oklch(42.7% 0.172 3.5)
-
Step 900
900
#790C39
oklch(37.8% 0.142 3.9)
-
Step 950
950
#470C22
oklch(27% 0.09 3.1)
#DF2871 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) | #596072 | 0.248 |
| Deuteranopia (no green cones) | #89836D | 0.222 |
| Tritanopia (no blue cones) | #F3004A | 0.062 |
| Achromatopsia (no color) | #777777 | 0.220 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF2871
#DF2871
oklch(59.7% 0.219 3.7)
- #009486
#009486
oklch(59.9% 0.106 183.3)
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 #DF2871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerise #DE0C62 ΔE 0.024
- Dark Hot Pink #D90166 ΔE 0.030
- Dark Pink #CB416B ΔE 0.046
- Lipstick #D5174E ΔE 0.052
- Neon Pink #F72585 ΔE 0.053
- Paradise Pink #EF476F ΔE 0.059
- Deep Rose #C74767 ΔE 0.059
- Rose #FF006E ΔE 0.060
Use #DF2871 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.