#DC5791#DC5791
#DC5791 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.5% C 0.175 H 356.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #DC5791 |
|---|---|
| RGB | rgb(220, 87, 145) |
| HSL | hsl(334, 66%, 60%) |
| HSV | hsv(334, 60%, 86%) |
| CMYK | cmyk(0%, 60.5%, 34.1%, 13.7%) |
| CIE-LAB | lab(56.17, 57.39, -4.88) |
| CIE-LCH | lch(56.17, 57.60, 355.14°) |
| OKLab | oklab(64.51% 0.175 -0.0121) |
| OKLCH | oklch(64.51% 0.175 356) |
| XYZ | xyz(38.0363, 24.0804, 29.4274) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.67
Blush
#DE5D83
ΔE00 4.74
Medium Pink
#F36196
ΔE00 5.43
Palevioletred
#DB7093
ΔE00 5.87
Barbie Pink
#FE46A5
ΔE00 5.96
Pale Magenta
#D767AD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC5791 #57DCA2
analogous
#DC57D3 #DC5791 #DC6057
triadic
#DC5791 #91DC57 #5791DC
tetradic
#DC5791 #D3DC57 #57DCA2 #6057DC
square
#DC5791 #D3DC57 #57DCA2 #6057DC
split-complementary
#DC5791 #57DC60 #57D3DC
monochromatic
#992055 #CB2A71 #DC5791 #E78AB2 #F1BCD3
Accessibility & contrast
On white
3.61
#DC5791 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#DC5791 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC5791
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC5791 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC5791 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7793
Deuteranopia (green-blind)
#90908E
Tritanopia (blue-blind)
#EC4D6E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #dc5791; /* rgb */ color: rgb(220, 87, 145); /* oklch */ color: oklch(64.5% 0.175 356.0);
Tailwind
colors: {
custom: {
50: '#eb8db1',
500: '#dc5791',
950: '#000000',
},
}SCSS
$custom: #dc5791; $custom-light: #eb8db1; $custom-dark: #000000;
JSON
{
"hex": "#dc5791",
"rgb": {
"r": 220,
"g": 87,
"b": 145
},
"hsl": {
"h": 333.835,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.64509,
"c": 0.17546,
"h": 356
},
"luminance": 0.24076
}Semantic roles & 50–950 ramp
primary
#DC5791
secondary
#AEE1CB
accent
#CD7E18
background
#FEF9FA
surface
#FDF1F5
border
#D5CBCF
text
#170D10
muted
#857E7F