#D052AF#D052AF
#D052AF is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.190 H 339.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D052AF |
|---|---|
| RGB | rgb(208, 82, 175) |
| HSL | hsl(316, 57%, 57%) |
| HSV | hsv(316, 61%, 82%) |
| CMYK | cmyk(0%, 60.6%, 15.9%, 18.4%) |
| CIE-LAB | lab(54.60, 60.02, -24.97) |
| CIE-LCH | lch(54.60, 65.00, 337.41°) |
| OKLab | oklab(63.34% 0.1774 -0.0673) |
| OKLCH | oklch(63.34% 0.19 339.2) |
| XYZ | xyz(36.7683, 22.5428, 42.9638) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.20
Pinky Purple
#C94CBE
ΔE00 4.16
Purpleish Pink
#DF4EC8
ΔE00 4.47
Pale Magenta
#D767AD
ΔE00 5.45
Purpley Pink
#C83CB9
ΔE00 5.68
Hot Magenta
#F504C9
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D052AF #52D073
analogous
#B252D0 #D052AF #D05270
triadic
#D052AF #AFD052 #52AFD0
tetradic
#D052AF #D0B252 #52D073 #5270D0
square
#D052AF #D0B252 #52D073 #5270D0
split-complementary
#D052AF #70D052 #52D0B2
monochromatic
#84246B #B43192 #D052AF #DD82C5 #EAB2DC
Accessibility & contrast
On white
3.81
#D052AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#D052AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D052AF
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D052AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D052AF | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#DB5679
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #d052af; /* rgb */ color: rgb(208, 82, 175); /* oklch */ color: oklch(63.3% 0.190 339.2);
Tailwind
colors: {
custom: {
50: '#e18ac7',
500: '#d052af',
950: '#000000',
},
}SCSS
$custom: #d052af; $custom-light: #e18ac7; $custom-dark: #000000;
JSON
{
"hex": "#d052af",
"rgb": {
"r": 208,
"g": 82,
"b": 175
},
"hsl": {
"h": 315.714,
"s": 57.273,
"l": 56.863
},
"oklch": {
"l": 0.63339,
"c": 0.18971,
"h": 339.2
},
"luminance": 0.2254
}Semantic roles & 50–950 ramp
primary
#D052AF
secondary
#A5D9B3
accent
#E16F47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82