#D862AF#D862AF
#D862AF is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.4% C 0.172 H 342.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D862AF |
|---|---|
| RGB | rgb(216, 98, 175) |
| HSL | hsl(321, 60%, 62%) |
| HSV | hsv(321, 55%, 85%) |
| CMYK | cmyk(0%, 54.6%, 19%, 15.3%) |
| CIE-LAB | lab(58.45, 55.13, -18.97) |
| CIE-LCH | lch(58.45, 58.30, 341.01°) |
| OKLab | oklab(66.42% 0.1642 -0.0505) |
| OKLCH | oklch(66.42% 0.172 342.9) |
| XYZ | xyz(40.4253, 26.4328, 43.5221) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 1.27
Purplish Pink
#CE5DAE
ΔE00 2.58
Purpleish Pink
#DF4EC8
ΔE00 6.13
Orchid (survey)
#C875C4
ΔE00 6.45
Barbie Pink
#FE46A5
ΔE00 7.08
Orchid
#DA70D6
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862AF #62D88B
analogous
#C662D8 #D862AF #D86274
triadic
#D862AF #AFD862 #62AFD8
tetradic
#D862AF #D8C662 #62D88B #6274D8
square
#D862AF #D8C662 #62D88B #6274D8
split-complementary
#D862AF #74D862 #62D8C6
monochromatic
#992671 #CA3296 #D862AF #E493C8 #F0C4E1
Accessibility & contrast
On white
3.34
#D862AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#D862AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862AF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862AF | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A80B2
Deuteranopia (green-blind)
#8B94AC
Tritanopia (blue-blind)
#E46281
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d862af; /* rgb */ color: rgb(216, 98, 175); /* oklch */ color: oklch(66.4% 0.172 342.9);
Tailwind
colors: {
custom: {
50: '#e793c7',
500: '#d862af',
950: '#000000',
},
}SCSS
$custom: #d862af; $custom-light: #e793c7; $custom-dark: #000000;
JSON
{
"hex": "#d862af",
"rgb": {
"r": 216,
"g": 98,
"b": 175
},
"hsl": {
"h": 320.847,
"s": 60.204,
"l": 61.569
},
"oklch": {
"l": 0.66415,
"c": 0.17176,
"h": 342.9
},
"luminance": 0.26429
}Semantic roles & 50–950 ramp
primary
#D862AF
secondary
#B5E1C4
accent
#C8591E
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D13
muted
#847E82