#D04FAF#D04FAF
#D04FAF is a light, vivid pink. Relative luminance 0.221; OKLCH L 63.0% C 0.194 H 339.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D04FAF |
|---|---|
| RGB | rgb(208, 79, 175) |
| HSL | hsl(315, 58%, 56%) |
| HSV | hsv(315, 62%, 82%) |
| CMYK | cmyk(0%, 62%, 15.9%, 18.4%) |
| CIE-LAB | lab(54.13, 61.29, -25.69) |
| CIE-LCH | lch(54.13, 66.45, 337.26°) |
| OKLab | oklab(63% 0.1812 -0.0693) |
| OKLCH | oklch(63% 0.194 339.1) |
| XYZ | xyz(36.5470, 22.1002, 42.8901) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.77
Pinky Purple
#C94CBE
ΔE00 3.85
Purpleish Pink
#DF4EC8
ΔE00 4.49
Purpley Pink
#C83CB9
ΔE00 5.17
Pale Magenta
#D767AD
ΔE00 6.01
Hot Magenta
#F504C9
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04FAF #4FD070
analogous
#B14FD0 #D04FAF #D04F6F
triadic
#D04FAF #AFD04F #4FAFD0
tetradic
#D04FAF #D0B14F #4FD070 #4F6FD0
square
#D04FAF #D0B14F #4FD070 #4F6FD0
split-complementary
#D04FAF #6FD04F #4FD0B1
monochromatic
#82236A #B23091 #D04FAF #DD7FC5 #EAB0DB
Accessibility & contrast
On white
3.87
#D04FAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#D04FAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04FAF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04FAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04FAF | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5574B2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#DB5378
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #d04faf; /* rgb */ color: rgb(208, 79, 175); /* oklch */ color: oklch(63.0% 0.194 339.1);
Tailwind
colors: {
custom: {
50: '#e288c7',
500: '#d04faf',
950: '#000000',
},
}SCSS
$custom: #d04faf; $custom-light: #e288c7; $custom-dark: #000000;
JSON
{
"hex": "#d04faf",
"rgb": {
"r": 208,
"g": 79,
"b": 175
},
"hsl": {
"h": 315.349,
"s": 57.848,
"l": 56.275
},
"oklch": {
"l": 0.62998,
"c": 0.19396,
"h": 339.1
},
"luminance": 0.22097
}Semantic roles & 50–950 ramp
primary
#D04FAF
secondary
#A3D8B0
accent
#E16E47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82