#D252B6#D252B6
#D252B6 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.9% C 0.196 H 337.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D252B6 |
|---|---|
| RGB | rgb(210, 82, 182) |
| HSL | hsl(313, 59%, 57%) |
| HSV | hsv(313, 61%, 82%) |
| CMYK | cmyk(0%, 61%, 13.3%, 17.6%) |
| CIE-LAB | lab(55.19, 61.61, -28.09) |
| CIE-LCH | lch(55.19, 67.71, 335.49°) |
| OKLab | oklab(63.93% 0.1807 -0.0761) |
| OKLCH | oklch(63.93% 0.196 337.2) |
| XYZ | xyz(38.0396, 23.1167, 46.7054) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.74
Purpleish Pink
#DF4EC8
ΔE00 3.28
Pinky Purple
#C94CBE
ΔE00 3.38
Purpley Pink
#C83CB9
ΔE00 5.35
Pale Magenta
#D767AD
ΔE00 5.86
Pinkish Purple
#D648D7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D252B6 #52D26E
analogous
#AE52D2 #D252B6 #D25276
triadic
#D252B6 #B6D252 #52B6D2
tetradic
#D252B6 #D2AE52 #52D26E #5276D2
square
#D252B6 #D2AE52 #52D26E #5276D2
split-complementary
#D252B6 #76D252 #52D2AE
monochromatic
#872371 #B7309A #D252B6 #DF83CA #EBB3DF
Accessibility & contrast
On white
3.73
#D252B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#D252B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D252B6
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D252B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D252B6 | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5578B9
Deuteranopia (green-blind)
#7C8BB3
Tritanopia (blue-blind)
#DC587D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #d252b6; /* rgb */ color: rgb(210, 82, 182); /* oklch */ color: oklch(63.9% 0.196 337.2);
Tailwind
colors: {
custom: {
50: '#e38acc',
500: '#d252b6',
950: '#000000',
},
}SCSS
$custom: #d252b6; $custom-light: #e38acc; $custom-dark: #000000;
JSON
{
"hex": "#d252b6",
"rgb": {
"r": 210,
"g": 82,
"b": 182
},
"hsl": {
"h": 313.125,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.6393,
"c": 0.19606,
"h": 337.2
},
"luminance": 0.23114
}Semantic roles & 50–950 ramp
primary
#D252B6
secondary
#A6DAB1
accent
#E26846
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82