#D7017C
Closest named color: Dark Hot Pink (#D90166). oklch(57.3% 0.234 356.3), rgb(215, 1, 124).
Aa
White text reads best on this color (5.01:1).
About this color
#D7017C is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.234 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.034 away. White text reads best on it, at 5.01:1.
| Hue family | Reds |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.234) |
| Temperature | warm |
| Nearest name | Dark Hot Pink (#D90166) |
| Black text | 4.18:1 |
| White text | 5.01:1 |
Values
| HEX | #D7017C |
| RGB | rgb(215, 1, 124) |
| HSL | hsl(326, 99%, 42%) |
| OKLCH | oklch(57.3% 0.234 356.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 #D7017C | 5.01:1 | AA | Lc -77.5 | Fine for body text |
| Black text on #D7017C | 4.18:1 | AA large text | Lc 32.0 | Non-text elements, placeholder text |
| #D7017C text on white | 5.01:1 | AA | Lc 72.1 | Content text, not long reading |
| #D7017C text on black | 4.18:1 | AA large text | Lc -29.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
#FEF2F6
oklch(97.2% 0.014 355)
-
Step 100
100
#FCE2EA
oklch(93.6% 0.03 357.1)
-
Step 200
200
#FACADA
oklch(88.5% 0.058 356.4)
-
Step 300
300
#F8A4C2
oklch(80.9% 0.105 356.7)
-
Step 400
400
#EF6EA3
oklch(70.7% 0.168 356.5)
-
Step 500
500
#E63C8D
oklch(63.2% 0.215 356.4)
-
Step 600
600 (this color)
#D7017C
oklch(57.3% 0.234 356.3)
-
Step 700
700
#AF0064
oklch(49.1% 0.201 356.2)
-
Step 800
800
#910052
oklch(42.8% 0.175 356.1)
-
Step 900
900
#761044
oklch(37.8% 0.141 356.1)
-
Step 950
950
#450D28
oklch(26.9% 0.089 355.5)
#D7017C 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) | #47587E | 0.268 |
| Deuteranopia (no green cones) | #7D7C78 | 0.235 |
| Tritanopia (no blue cones) | #E90048 | 0.087 |
| Achromatopsia (no color) | #6F6F6F | 0.236 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7017C
#D7017C
oklch(57.3% 0.234 356.3)
- #008C76
#008C76
oklch(57.2% 0.107 176.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 #D7017C, closest first.
No curated palette has a color within ΔE 0.04 of #D7017C.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Hot Pink #D90166 ΔE 0.034
- Medium Violet Red #C71585 ΔE 0.035
- Cerise #DE0C62 ΔE 0.045
- Dark Pink #CB416B ΔE 0.068
- Lipstick #D5174E ΔE 0.071
- Neon Pink #F72585 ΔE 0.073
- Ruby #CA0147 ΔE 0.080
- Strong Pink #FF0789 ΔE 0.082
Use #D7017C 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.