#DC5787#DC5787
#DC5787 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.2% C 0.172 H 0.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #DC5787 |
|---|---|
| RGB | rgb(220, 87, 135) |
| HSL | hsl(338, 66%, 60%) |
| HSV | hsv(338, 60%, 86%) |
| CMYK | cmyk(0%, 60.5%, 38.6%, 13.7%) |
| CIE-LAB | lab(55.87, 56.27, 0.57) |
| CIE-LCH | lch(55.87, 56.27, 0.58°) |
| OKLab | oklab(64.19% 0.1718 0.0022) |
| OKLCH | oklch(64.19% 0.172 0.7) |
| XYZ | xyz(37.2989, 23.7855, 25.5438) |
| Luminance | 0.2378 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Blush
#DE5D83
ΔE00 2.44
Darkish Pink
#DA467D
ΔE00 3.42
Medium Pink
#F36196
ΔE00 5.18
Palevioletred
#DB7093
ΔE00 5.35
Strawberry
#FC5A8D
ΔE00 6.15
Pinkish
#D46A7E
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC5787 #57DCAC
analogous
#DC57C9 #DC5787 #DC6A57
triadic
#DC5787 #87DC57 #5787DC
tetradic
#DC5787 #C9DC57 #57DCAC #6A57DC
square
#DC5787 #C9DC57 #57DCAC #6A57DC
split-complementary
#DC5787 #57DC6A #57C9DC
monochromatic
#99204B #CB2A64 #DC5787 #E78AAB #F1BCCF
Accessibility & contrast
On white
3.65
#DC5787 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#DC5787 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC5787
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC5787 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC5787 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F7688
Deuteranopia (green-blind)
#938F84
Tritanopia (blue-blind)
#ED4A6A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #dc5787; /* rgb */ color: rgb(220, 87, 135); /* oklch */ color: oklch(64.2% 0.172 0.7);
Tailwind
colors: {
custom: {
50: '#eb8da9',
500: '#dc5787',
950: '#000000',
},
}SCSS
$custom: #dc5787; $custom-light: #eb8da9; $custom-dark: #000000;
JSON
{
"hex": "#dc5787",
"rgb": {
"r": 220,
"g": 87,
"b": 135
},
"hsl": {
"h": 338.346,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.64191,
"c": 0.17178,
"h": 0.7
},
"luminance": 0.23781
}Semantic roles & 50–950 ramp
primary
#DC5787
secondary
#AEE1CE
accent
#CD8C18
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170D0F
muted
#857D7F