#DF31BD
Closest named color: Purpley Pink (#C83CB9). oklch(63.2% 0.247 337.6), rgb(223, 49, 189).
Aa
Black text reads best on this color (5.31:1).
About this color
#DF31BD is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.247 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.044 away. Black text reads best on it, at 5.31:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.247) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 5.31:1 |
| White text | 3.95:1 |
Values
| HEX | #DF31BD |
| RGB | rgb(223, 49, 189) |
| HSL | hsl(312, 73%, 53%) |
| OKLCH | oklch(63.2% 0.247 337.6) |
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 #DF31BD | 3.95:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #DF31BD | 5.31:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #DF31BD text on white | 3.95:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #DF31BD text on black | 5.31:1 | AA | Lc -36.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
#FDF2F9
oklch(97.2% 0.015 338.9)
-
Step 100
100
#FAE1F2
oklch(93.5% 0.035 337.4)
-
Step 200
200
#F7C9E9
oklch(88.5% 0.066 337.4)
-
Step 300
300
#F3A2DC
oklch(80.9% 0.12 337.7)
-
Step 400
400
#E969CA
oklch(70.7% 0.193 337.8)
-
Step 500
500 (this color)
#DF31BD
oklch(63.2% 0.247 337.6)
-
Step 600
600
#C300A4
oklch(55.6% 0.244 337.6)
-
Step 700
700
#A5008A
oklch(49.1% 0.215 337.7)
-
Step 800
800
#880072
oklch(42.6% 0.187 337.4)
-
Step 900
900
#72065F
oklch(37.8% 0.161 337.7)
-
Step 950
950
#430A37
oklch(27% 0.101 338.1)
#DF31BD 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) | #396FC1 | 0.273 |
| Deuteranopia (no green cones) | #7689B9 | 0.232 |
| Tritanopia (no blue cones) | #EB3C75 | 0.119 |
| Achromatopsia (no color) | #808080 | 0.249 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF31BD
#DF31BD
oklch(63.2% 0.247 337.6)
- #00A465
#00A465
oklch(63.3% 0.149 157.5)
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 #DF31BD, closest first.
No curated palette has a color within ΔE 0.04 of #DF31BD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.044
- Hot Magenta #F504C9 ΔE 0.047
- Pinky Purple #C94CBE ΔE 0.049
- Purple Pink #D725DE ΔE 0.058
- Bright Pink #FE01B1 ΔE 0.062
- Pink Purple #EF1DE7 ΔE 0.069
- Shocking Pink #FE02A2 ΔE 0.072
- Medium Orchid #BA55D3 ΔE 0.084
Use #DF31BD 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.