#D939AF#D939AF
#D939AF is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.2% C 0.227 H 340.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D939AF |
|---|---|
| RGB | rgb(217, 57, 175) |
| HSL | hsl(316, 68%, 54%) |
| HSV | hsv(316, 74%, 85%) |
| CMYK | cmyk(0%, 73.7%, 19.4%, 14.9%) |
| CIE-LAB | lab(52.70, 71.61, -27.79) |
| CIE-LCH | lch(52.70, 76.81, 338.79°) |
| OKLab | oklab(62.24% 0.2142 -0.0749) |
| OKLCH | oklch(62.24% 0.227 340.7) |
| XYZ | xyz(37.8174, 20.7769, 42.5678) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.29
Pinky Purple
#C94CBE
ΔE00 4.48
Hot Magenta
#F504C9
ΔE00 5.14
Purpleish Pink
#DF4EC8
ΔE00 5.27
Purplish Pink
#CE5DAE
ΔE00 5.55
Bright Pink
#FE01B1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D939AF #39D963
analogous
#B339D9 #D939AF #D9395F
triadic
#D939AF #AFD939 #39AFD9
tetradic
#D939AF #D9B339 #39D963 #395FD9
square
#D939AF #D9B339 #39D963 #395FD9
split-complementary
#D939AF #5FD939 #39D9B3
monochromatic
#7F1864 #B3228D #D939AF #E36CC4 #EDA0D8
Accessibility & contrast
On white
4.07
#D939AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#D939AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D939AF
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D939AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D939AF | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466DB2
Deuteranopia (green-blind)
#7987AB
Tritanopia (blue-blind)
#E63D70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #d939af; /* rgb */ color: rgb(217, 57, 175); /* oklch */ color: oklch(62.2% 0.227 340.7);
Tailwind
colors: {
custom: {
50: '#e97ec7',
500: '#d939af',
950: '#000000',
},
}SCSS
$custom: #d939af; $custom-light: #e97ec7; $custom-dark: #000000;
JSON
{
"hex": "#d939af",
"rgb": {
"r": 217,
"g": 57,
"b": 175
},
"hsl": {
"h": 315.75,
"s": 67.797,
"l": 53.725
},
"oklch": {
"l": 0.62235,
"c": 0.22687,
"h": 340.7
},
"luminance": 0.20773
}Semantic roles & 50–950 ramp
primary
#D939AF
secondary
#95D9A7
accent
#EB6B3D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82