#D152B6#D152B6
#D152B6 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.8% C 0.195 H 336.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D152B6 |
|---|---|
| RGB | rgb(209, 82, 182) |
| HSL | hsl(313, 58%, 57%) |
| HSV | hsv(313, 61%, 82%) |
| CMYK | cmyk(0%, 60.8%, 12.9%, 18%) |
| CIE-LAB | lab(55.04, 61.34, -28.33) |
| CIE-LCH | lch(55.04, 67.56, 335.21°) |
| OKLab | oklab(63.79% 0.1797 -0.0768) |
| OKLCH | oklch(63.79% 0.195 336.9) |
| XYZ | xyz(37.7558, 22.9704, 46.6921) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.82
Pinky Purple
#C94CBE
ΔE00 3.21
Purpleish Pink
#DF4EC8
ΔE00 3.35
Purpley Pink
#C83CB9
ΔE00 5.20
Pinkish Purple
#D648D7
ΔE00 5.80
Pale Magenta
#D767AD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D152B6 #52D16D
analogous
#AD52D1 #D152B6 #D15277
triadic
#D152B6 #B6D152 #52B6D1
tetradic
#D152B6 #D1AD52 #52D16D #5277D1
square
#D152B6 #D1AD52 #52D16D #5277D1
split-complementary
#D152B6 #77D152 #52D1AD
monochromatic
#852370 #B63099 #D152B6 #DE82CA #EBB3DF
Accessibility & contrast
On white
3.75
#D152B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#D152B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D152B6
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D152B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D152B6 | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5577B9
Deuteranopia (green-blind)
#7C8BB3
Tritanopia (blue-blind)
#DB587D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #d152b6; /* rgb */ color: rgb(209, 82, 182); /* oklch */ color: oklch(63.8% 0.195 336.9);
Tailwind
colors: {
custom: {
50: '#e28acc',
500: '#d152b6',
950: '#000000',
},
}SCSS
$custom: #d152b6; $custom-light: #e28acc; $custom-dark: #000000;
JSON
{
"hex": "#d152b6",
"rgb": {
"r": 209,
"g": 82,
"b": 182
},
"hsl": {
"h": 312.756,
"s": 57.991,
"l": 57.059
},
"oklch": {
"l": 0.6379,
"c": 0.19537,
"h": 336.9
},
"luminance": 0.22967
}Semantic roles & 50–950 ramp
primary
#D152B6
secondary
#A6D9B1
accent
#E16747
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82