#CF518A#CF518A
#CF518A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.169 H 355.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CF518A |
|---|---|
| RGB | rgb(207, 81, 138) |
| HSL | hsl(333, 57%, 56%) |
| HSV | hsv(333, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 33.3%, 18.8%) |
| CIE-LAB | lab(52.94, 55.21, -5.76) |
| CIE-LCH | lch(52.94, 55.51, 354.04°) |
| OKLab | oklab(61.64% 0.1683 -0.0145) |
| OKLCH | oklch(61.64% 0.169 355.1) |
| XYZ | xyz(33.2637, 20.9888, 26.3393) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.96
Blush
#DE5D83
ΔE00 6.37
Dark Pink
#CB416B
ΔE00 7.23
Deeppink
#FF1493
ΔE00 7.67
Electric Pink
#FF0490
ΔE00 7.73
Hot Pink (survey)
#FF028D
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF518A #51CF96
analogous
#CF51C9 #CF518A #CF5751
triadic
#CF518A #8ACF51 #518ACF
tetradic
#CF518A #C9CF51 #51CF96 #5751CF
square
#CF518A #C9CF51 #51CF96 #5751CF
split-complementary
#CF518A #51CF57 #51C9CF
monochromatic
#82244E #B2316B #CF518A #DC81AA #E9B1CB
Accessibility & contrast
On white
4.04
#CF518A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#CF518A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF518A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF518A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF518A | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DE4868
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf518a; /* rgb */ color: rgb(207, 81, 138); /* oklch */ color: oklch(61.6% 0.169 355.1);
Tailwind
colors: {
custom: {
50: '#e288ac',
500: '#cf518a',
950: '#000000',
},
}SCSS
$custom: #cf518a; $custom-light: #e288ac; $custom-dark: #000000;
JSON
{
"hex": "#cf518a",
"rgb": {
"r": 207,
"g": 81,
"b": 138
},
"hsl": {
"h": 332.857,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.6164,
"c": 0.16894,
"h": 355.1
},
"luminance": 0.20985
}Semantic roles & 50–950 ramp
primary
#CF518A
secondary
#A4D8C0
accent
#E09B48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F