#DC5798#DC5798
#DC5798 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.7% C 0.179 H 352.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #DC5798 |
|---|---|
| RGB | rgb(220, 87, 152) |
| HSL | hsl(331, 66%, 60%) |
| HSV | hsv(331, 60%, 86%) |
| CMYK | cmyk(0%, 60.5%, 30.9%, 13.7%) |
| CIE-LAB | lab(56.39, 58.22, -8.66) |
| CIE-LCH | lch(56.39, 58.86, 351.54°) |
| OKLab | oklab(64.75% 0.1772 -0.0222) |
| OKLCH | oklch(64.75% 0.179 352.9) |
| XYZ | xyz(38.5927, 24.3030, 32.3582) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.98
Barbie Pink
#FE46A5
ΔE00 5.42
Darkish Pink
#DA467D
ΔE00 5.98
Purplish Pink
#CE5DAE
ΔE00 6.16
Medium Pink
#F36196
ΔE00 6.17
Blush
#DE5D83
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC5798 #57DC9B
analogous
#DC57DA #DC5798 #DC5957
triadic
#DC5798 #98DC57 #5798DC
tetradic
#DC5798 #DADC57 #57DC9B #5957DC
square
#DC5798 #DADC57 #57DC9B #5957DC
split-complementary
#DC5798 #57DC59 #57DADC
monochromatic
#99205B #CB2A79 #DC5798 #E78AB7 #F1BCD6
Accessibility & contrast
On white
3.58
#DC5798 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#DC5798 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC5798
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC5798 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC5798 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A789A
Deuteranopia (green-blind)
#8F9095
Tritanopia (blue-blind)
#EC4F71
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #dc5798; /* rgb */ color: rgb(220, 87, 152); /* oklch */ color: oklch(64.7% 0.179 352.9);
Tailwind
colors: {
custom: {
50: '#eb8db6',
500: '#dc5798',
950: '#000000',
},
}SCSS
$custom: #dc5798; $custom-light: #eb8db6; $custom-dark: #000000;
JSON
{
"hex": "#dc5798",
"rgb": {
"r": 220,
"g": 87,
"b": 152
},
"hsl": {
"h": 330.677,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.64746,
"c": 0.17856,
"h": 352.9
},
"luminance": 0.24299
}Semantic roles & 50–950 ramp
primary
#DC5798
secondary
#AEE1C8
accent
#CD7518
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#170D11
muted
#857E80