#D5317E
Closest named color: Dark Hot Pink (#D90166). oklch(59% 0.207 357.5), rgb(213, 49, 126).
Aa
White text reads best on this color (4.59:1).
About this color
#D5317E is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.207 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.040 away. White text reads best on it, at 4.59:1.
| Hue family | Reds |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.207) |
| Temperature | warm |
| Nearest name | Dark Hot Pink (#D90166) |
| Black text | 4.56:1 |
| White text | 4.59:1 |
Values
| HEX | #D5317E |
| RGB | rgb(213, 49, 126) |
| HSL | hsl(332, 66%, 51%) |
| OKLCH | oklch(59% 0.207 357.5) |
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 #D5317E | 4.59:1 | AA | Lc -76.0 | Fine for body text |
| Black text on #D5317E | 4.56:1 | AA | Lc 33.6 | Non-text elements, placeholder text |
| #D5317E text on white | 4.59:1 | AA | Lc 70.5 | Content text, not long reading |
| #D5317E text on black | 4.56:1 | AA | Lc -31.2 | 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 600.
-
Step 50
50
#FDF2F5
oklch(97.1% 0.012 358.8)
-
Step 100
100
#FAE3EA
oklch(93.6% 0.027 357.2)
-
Step 200
200
#F7CCD9
oklch(88.6% 0.051 358.1)
-
Step 300
300
#F2A8C1
oklch(80.9% 0.092 357.4)
-
Step 400
400
#E875A1
oklch(70.7% 0.149 357.4)
-
Step 500
500
#DE4A8A
oklch(63.1% 0.192 357.5)
-
Step 600
600 (this color)
#D5317E
oklch(59% 0.207 357.5)
-
Step 700
700
#AD0F61
oklch(49.1% 0.193 357.6)
-
Step 800
800
#8C144F
oklch(42.6% 0.159 357.5)
-
Step 900
900
#711B42
oklch(37.7% 0.124 357.4)
-
Step 950
950
#431227
oklch(27.1% 0.079 357.3)
#D5317E 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) | #556280 | 0.234 |
| Deuteranopia (no green cones) | #82807A | 0.209 |
| Tritanopia (no blue cones) | #E71454 | 0.067 |
| Achromatopsia (no color) | #757575 | 0.209 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D5317E
#D5317E
oklch(59% 0.207 357.5)
- #00927D
#00927D
oklch(59% 0.109 177.7)
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 #D5317E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Hot Pink #D90166 ΔE 0.040
- Dark Pink #CB416B ΔE 0.043
- Cerise #DE0C62 ΔE 0.044
- Medium Violet Red #C71585 ΔE 0.049
- Deep Rose #C74767 ΔE 0.057
- Neon Pink #F72585 ΔE 0.065
- Lipstick #D5174E ΔE 0.066
- Paradise Pink #EF476F ΔE 0.075
Use #D5317E 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.