#CB518F#CB518F
#CB518F is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.168 H 351.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CB518F |
|---|---|
| RGB | rgb(203, 81, 143) |
| HSL | hsl(330, 54%, 56%) |
| HSV | hsv(330, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 29.6%, 20.4%) |
| CIE-LAB | lab(52.47, 54.60, -9.49) |
| CIE-LCH | lch(52.47, 55.42, 350.15°) |
| OKLab | oklab(61.23% 0.1659 -0.0245) |
| OKLCH | oklch(61.23% 0.168 351.6) |
| XYZ | xyz(32.5304, 20.5678, 28.2381) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.60
Purplish Pink
#CE5DAE
ΔE00 6.53
Pale Magenta
#D767AD
ΔE00 7.14
Blush
#DE5D83
ΔE00 8.00
Neon Pink
#FE019A
ΔE00 8.18
Deeppink
#FF1493
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB518F #51CB8D
analogous
#CA51CB #CB518F #CB5152
triadic
#CB518F #8FCB51 #518FCB
tetradic
#CB518F #CBCA51 #51CB8D #5152CB
square
#CB518F #CBCA51 #51CB8D #5152CB
split-complementary
#CB518F #52CB51 #51CBCA
monochromatic
#7C2552 #AC3370 #CB518F #D980AD #E7AFCC
Accessibility & contrast
On white
4.11
#CB518F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#CB518F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB518F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB518F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB518F | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626F91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#D94B6A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cb518f; /* rgb */ color: rgb(203, 81, 143); /* oklch */ color: oklch(61.2% 0.168 351.6);
Tailwind
colors: {
custom: {
50: '#de88af',
500: '#cb518f',
950: '#000000',
},
}SCSS
$custom: #cb518f; $custom-light: #de88af; $custom-dark: #000000;
JSON
{
"hex": "#cb518f",
"rgb": {
"r": 203,
"g": 81,
"b": 143
},
"hsl": {
"h": 329.508,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.61227,
"c": 0.16766,
"h": 351.6
},
"luminance": 0.20565
}Semantic roles & 50–950 ramp
primary
#CB518F
secondary
#A3D5BB
accent
#DD934A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F