#D940AE#D940AE
#D940AE is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.8% C 0.219 H 341.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D940AE |
|---|---|
| RGB | rgb(217, 64, 174) |
| HSL | hsl(317, 67%, 55%) |
| HSV | hsv(317, 71%, 85%) |
| CMYK | cmyk(0%, 70.5%, 19.8%, 14.9%) |
| CIE-LAB | lab(53.47, 69.20, -26.02) |
| CIE-LCH | lch(53.47, 73.93, 339.39°) |
| OKLab | oklab(62.78% 0.2071 -0.0699) |
| OKLCH | oklch(62.78% 0.219 341.3) |
| XYZ | xyz(38.0898, 21.4783, 42.1759) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 4.61
Purplish Pink
#CE5DAE
ΔE00 4.63
Purpleish Pink
#DF4EC8
ΔE00 4.91
Purpley Pink
#C83CB9
ΔE00 4.97
Hot Magenta
#F504C9
ΔE00 5.38
Bright Pink
#FE01B1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D940AE #40D96B
analogous
#B840D9 #D940AE #D94061
triadic
#D940AE #AED940 #40AED9
tetradic
#D940AE #D9B840 #40D96B #4061D9
square
#D940AE #D9B840 #40D96B #4061D9
split-complementary
#D940AE #61D940 #40D9B8
monochromatic
#841A67 #B7248E #D940AE #E373C4 #EDA6D9
Accessibility & contrast
On white
3.97
#D940AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#D940AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D940AE
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D940AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D940AE | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#7C89AA
Tritanopia (blue-blind)
#E64372
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #d940ae; /* rgb */ color: rgb(217, 64, 174); /* oklch */ color: oklch(62.8% 0.219 341.3);
Tailwind
colors: {
custom: {
50: '#e981c6',
500: '#d940ae',
950: '#000000',
},
}SCSS
$custom: #d940ae; $custom-light: #e981c6; $custom-dark: #000000;
JSON
{
"hex": "#d940ae",
"rgb": {
"r": 217,
"g": 64,
"b": 174
},
"hsl": {
"h": 316.863,
"s": 66.812,
"l": 55.098
},
"oklch": {
"l": 0.62776,
"c": 0.21855,
"h": 341.3
},
"luminance": 0.21474
}Semantic roles & 50–950 ramp
primary
#D940AE
secondary
#9ADAAC
accent
#EA6E3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170B13
muted
#857C82