#D152AF#D152AF
#D152AF is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.5% C 0.190 H 339.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D152AF |
|---|---|
| RGB | rgb(209, 82, 175) |
| HSL | hsl(316, 58%, 57%) |
| HSV | hsv(316, 61%, 82%) |
| CMYK | cmyk(0%, 60.8%, 16.3%, 18%) |
| CIE-LAB | lab(54.75, 60.29, -24.73) |
| CIE-LCH | lch(54.75, 65.17, 337.70°) |
| OKLab | oklab(63.48% 0.1784 -0.0666) |
| OKLCH | oklch(63.48% 0.19 339.5) |
| XYZ | xyz(37.0504, 22.6882, 42.9771) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.13
Pinky Purple
#C94CBE
ΔE00 4.31
Purpleish Pink
#DF4EC8
ΔE00 4.43
Pale Magenta
#D767AD
ΔE00 5.31
Purpley Pink
#C83CB9
ΔE00 5.84
Hot Magenta
#F504C9
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D152AF #52D174
analogous
#B452D1 #D152AF #D15270
triadic
#D152AF #AFD152 #52AFD1
tetradic
#D152AF #D1B452 #52D174 #5270D1
square
#D152AF #D1B452 #52D174 #5270D1
split-complementary
#D152AF #70D152 #52D1B4
monochromatic
#85236B #B63092 #D152AF #DE82C5 #EBB3DC
Accessibility & contrast
On white
3.79
#D152AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#D152AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D152AF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D152AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D152AF | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#DC5579
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #d152af; /* rgb */ color: rgb(209, 82, 175); /* oklch */ color: oklch(63.5% 0.190 339.5);
Tailwind
colors: {
custom: {
50: '#e28ac7',
500: '#d152af',
950: '#000000',
},
}SCSS
$custom: #d152af; $custom-light: #e28ac7; $custom-dark: #000000;
JSON
{
"hex": "#d152af",
"rgb": {
"r": 209,
"g": 82,
"b": 175
},
"hsl": {
"h": 316.063,
"s": 57.991,
"l": 57.059
},
"oklch": {
"l": 0.6348,
"c": 0.19042,
"h": 339.5
},
"luminance": 0.22685
}Semantic roles & 50–950 ramp
primary
#D152AF
secondary
#A6D9B3
accent
#E17047
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82