#CF5786#CF5786
#CF5786 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.159 H 358.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5786 |
|---|---|
| RGB | rgb(207, 87, 134) |
| HSL | hsl(337, 56%, 58%) |
| HSV | hsv(337, 58%, 81%) |
| CMYK | cmyk(0%, 58%, 35.3%, 18.8%) |
| CIE-LAB | lab(53.82, 52.04, -2.08) |
| CIE-LCH | lch(53.82, 52.08, 357.71°) |
| OKLab | oklab(62.26% 0.1586 -0.0048) |
| OKLCH | oklch(62.26% 0.159 358.3) |
| XYZ | xyz(33.4452, 21.8065, 24.9974) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.45
Blush
#DE5D83
ΔE00 4.55
Palevioletred
#DB7093
ΔE00 6.62
Dark Pink
#CB416B
ΔE00 6.68
Rose (survey)
#CF6275
ΔE00 7.15
Pinkish
#D46A7E
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5786 #57CFA0
analogous
#CF57C2 #CF5786 #CF6457
triadic
#CF5786 #86CF57 #5786CF
tetradic
#CF5786 #C2CF57 #57CFA0 #6457CF
square
#CF5786 #C2CF57 #57CFA0 #6457CF
split-complementary
#CF5786 #57CF64 #57C2CF
monochromatic
#85264B #B53466 #CF5786 #DD87A8 #EAB6CB
Accessibility & contrast
On white
3.92
#CF5786 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#CF5786 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5786
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5786 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7387
Deuteranopia (green-blind)
#8B8983
Tritanopia (blue-blind)
#DE4D69
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cf5786; /* rgb */ color: rgb(207, 87, 134); /* oklch */ color: oklch(62.3% 0.159 358.3);
Tailwind
colors: {
custom: {
50: '#e18ba9',
500: '#cf5786',
950: '#000000',
},
}SCSS
$custom: #cf5786; $custom-light: #e18ba9; $custom-dark: #000000;
JSON
{
"hex": "#cf5786",
"rgb": {
"r": 207,
"g": 87,
"b": 134
},
"hsl": {
"h": 336.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.62258,
"c": 0.1587,
"h": 358.3
},
"luminance": 0.21803
}Semantic roles & 50–950 ramp
primary
#CF5786
secondary
#A9D9C6
accent
#DFA449
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F