#DF31BC
Closest named color: Purpley Pink (#C83CB9). oklch(63.2% 0.246 337.9), rgb(223, 49, 188).
Aa
Black text reads best on this color (5.30:1).
About this color
#DF31BC is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.246 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.043 away. Black text reads best on it, at 5.30:1.
| Hue family | Pinks |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.246) |
| Temperature | warm |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 5.30:1 |
| White text | 3.95:1 |
Values
| HEX | #DF31BC |
| RGB | rgb(223, 49, 188) |
| HSL | hsl(312, 73%, 53%) |
| OKLCH | oklch(63.2% 0.246 337.9) |
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 #DF31BC | 3.95:1 | AA large text | Lc -70.9 | Content text, not long reading |
| Black text on #DF31BC | 5.30:1 | AA | Lc 38.7 | Non-text elements, placeholder text |
| #DF31BC text on white | 3.95:1 | AA large text | Lc 65.4 | Content text, not long reading |
| #DF31BC text on black | 5.30:1 | AA | Lc -36.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 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)
#DF31BC
oklch(63.2% 0.246 337.9)
-
Step 600
600
#C300A3
oklch(55.5% 0.244 337.9)
-
Step 700
700
#A5008A
oklch(49.1% 0.215 337.7)
-
Step 800
800
#890071
oklch(42.8% 0.187 338.3)
-
Step 900
900
#72065E
oklch(37.8% 0.16 338.2)
-
Step 950
950
#430A37
oklch(27% 0.101 338.1)
#DF31BC 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) | #3A6FC0 | 0.273 |
| Deuteranopia (no green cones) | #7789B8 | 0.231 |
| Tritanopia (no blue cones) | #EB3C75 | 0.118 |
| Achromatopsia (no color) | #808080 | 0.248 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF31BC
#DF31BC
oklch(63.2% 0.246 337.9)
- #00A466
#00A466
oklch(63.3% 0.148 157.9)
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 #DF31BC, closest first.
No curated palette has a color within ΔE 0.04 of #DF31BC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.043
- Hot Magenta #F504C9 ΔE 0.047
- Pinky Purple #C94CBE ΔE 0.049
- Purple Pink #D725DE ΔE 0.059
- Bright Pink #FE01B1 ΔE 0.061
- Pink Purple #EF1DE7 ΔE 0.071
- Shocking Pink #FE02A2 ΔE 0.071
- Medium Orchid #BA55D3 ΔE 0.085
Use #DF31BC 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.