#CF5787#CF5787
#CF5787 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.159 H 357.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5787 |
|---|---|
| RGB | rgb(207, 87, 135) |
| HSL | hsl(336, 56%, 58%) |
| HSV | hsv(336, 58%, 81%) |
| CMYK | cmyk(0%, 58%, 34.8%, 18.8%) |
| CIE-LAB | lab(53.85, 52.16, -2.63) |
| CIE-LCH | lch(53.85, 52.23, 357.11°) |
| OKLab | oklab(62.29% 0.159 -0.0062) |
| OKLCH | oklch(62.29% 0.159 357.8) |
| XYZ | xyz(33.5153, 21.8345, 25.3664) |
| Luminance | 0.2183 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.58
Blush
#DE5D83
ΔE00 4.72
Palevioletred
#DB7093
ΔE00 6.66
Dark Pink
#CB416B
ΔE00 6.86
Rose (survey)
#CF6275
ΔE00 7.39
Medium Pink
#F36196
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5787 #57CF9F
analogous
#CF57C3 #CF5787 #CF6357
triadic
#CF5787 #87CF57 #5787CF
tetradic
#CF5787 #C3CF57 #57CF9F #6357CF
square
#CF5787 #C3CF57 #57CF9F #6357CF
split-complementary
#CF5787 #57CF63 #57C3CF
monochromatic
#85264C #B53467 #CF5787 #DD87A9 #EAB6CB
Accessibility & contrast
On white
3.91
#CF5787 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#CF5787 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5787
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5787 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5787 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#8A8984
Tritanopia (blue-blind)
#DE4E69
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cf5787; /* rgb */ color: rgb(207, 87, 135); /* oklch */ color: oklch(62.3% 0.159 357.8);
Tailwind
colors: {
custom: {
50: '#e18ba9',
500: '#cf5787',
950: '#000000',
},
}SCSS
$custom: #cf5787; $custom-light: #e18ba9; $custom-dark: #000000;
JSON
{
"hex": "#cf5787",
"rgb": {
"r": 207,
"g": 87,
"b": 135
},
"hsl": {
"h": 336,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.6229,
"c": 0.15908,
"h": 357.8
},
"luminance": 0.21831
}Semantic roles & 50–950 ramp
primary
#CF5787
secondary
#A9D9C6
accent
#DFA349
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F