#CF5186#CF5186
#CF5186 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.5% C 0.167 H 357.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5186 |
|---|---|
| RGB | rgb(207, 81, 134) |
| HSL | hsl(335, 57%, 56%) |
| HSV | hsv(335, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 35.3%, 18.8%) |
| CIE-LAB | lab(52.81, 54.74, -3.57) |
| CIE-LCH | lch(52.81, 54.86, 356.27°) |
| OKLab | oklab(61.51% 0.1671 -0.0087) |
| OKLCH | oklch(61.51% 0.167 357) |
| XYZ | xyz(32.9795, 20.8750, 24.8421) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.17
Blush
#DE5D83
ΔE00 5.69
Dark Pink
#CB416B
ΔE00 6.36
Deep Rose
#C74767
ΔE00 7.44
Strong Pink
#FF0789
ΔE00 7.77
Hot Pink (survey)
#FF028D
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5186 #51CF9A
analogous
#CF51C5 #CF5186 #CF5B51
triadic
#CF5186 #86CF51 #5186CF
tetradic
#CF5186 #C5CF51 #51CF9A #5B51CF
square
#CF5186 #C5CF51 #51CF9A #5B51CF
split-complementary
#CF5186 #51CF5B #51C5CF
monochromatic
#82244B #B23167 #CF5186 #DC81A7 #E9B1C9
Accessibility & contrast
On white
4.06
#CF5186 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#CF5186 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5186
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5186 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5186 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666F88
Deuteranopia (green-blind)
#888783
Tritanopia (blue-blind)
#DF4766
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf5186; /* rgb */ color: rgb(207, 81, 134); /* oklch */ color: oklch(61.5% 0.167 357.0);
Tailwind
colors: {
custom: {
50: '#e288a9',
500: '#cf5186',
950: '#000000',
},
}SCSS
$custom: #cf5186; $custom-light: #e288a9; $custom-dark: #000000;
JSON
{
"hex": "#cf5186",
"rgb": {
"r": 207,
"g": 81,
"b": 134
},
"hsl": {
"h": 334.762,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.61507,
"c": 0.16728,
"h": 357
},
"luminance": 0.20871
}Semantic roles & 50–950 ramp
primary
#CF5186
secondary
#A4D8C2
accent
#E0A048
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F