#D027AF#D027AF
#D027AF is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.6% C 0.238 H 337.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D027AF |
|---|---|
| RGB | rgb(208, 39, 175) |
| HSL | hsl(312, 68%, 48%) |
| HSV | hsv(312, 81%, 82%) |
| CMYK | cmyk(0%, 81.3%, 15.9%, 18.4%) |
| CIE-LAB | lab(49.45, 74.49, -32.98) |
| CIE-LCH | lch(49.45, 81.46, 336.12°) |
| OKLab | oklab(59.6% 0.2208 -0.0897) |
| OKLCH | oklch(59.6% 0.238 337.9) |
| XYZ | xyz(34.4766, 17.9595, 42.2000) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.89
Pinky Purple
#C94CBE
ΔE00 5.26
Hot Magenta
#F504C9
ΔE00 6.98
Purple Pink
#D725DE
ΔE00 7.31
Fuchsia (survey)
#ED0DD9
ΔE00 7.38
Ugly Purple
#A442A0
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D027AF #27D048
analogous
#9C27D0 #D027AF #D0275A
triadic
#D027AF #AFD027 #27AFD0
tetradic
#D027AF #D09C27 #27D048 #275AD0
square
#D027AF #D09C27 #27D048 #275AD0
split-complementary
#D027AF #5AD027 #27D09C
monochromatic
#691458 #9C1D84 #D027AF #DF55C4 #E989D6
Accessibility & contrast
On white
4.57
#D027AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#D027AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D027AF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D027AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D027AF | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#6C7FAB
Tritanopia (blue-blind)
#DC336B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #d027af; /* rgb */ color: rgb(208, 39, 175); /* oklch */ color: oklch(59.6% 0.238 337.9);
Tailwind
colors: {
custom: {
50: '#e377c7',
500: '#d027af',
950: '#000000',
},
}SCSS
$custom: #d027af; $custom-light: #e377c7; $custom-dark: #000000;
JSON
{
"hex": "#d027af",
"rgb": {
"r": 208,
"g": 39,
"b": 175
},
"hsl": {
"h": 311.716,
"s": 68.421,
"l": 48.431
},
"oklch": {
"l": 0.59599,
"c": 0.23832,
"h": 337.9
},
"luminance": 0.17956
}Semantic roles & 50–950 ramp
primary
#D027AF
secondary
#80D290
accent
#EB5F3D
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82