#CB5998#CB5998
#CB5998 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.6% C 0.160 H 348.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5998 |
|---|---|
| RGB | rgb(203, 89, 152) |
| HSL | hsl(327, 52%, 57%) |
| HSV | hsv(327, 56%, 80%) |
| CMYK | cmyk(0%, 56.2%, 25.1%, 20.4%) |
| CIE-LAB | lab(54.15, 52.13, -12.29) |
| CIE-LCH | lch(54.15, 53.56, 346.74°) |
| OKLab | oklab(62.57% 0.1572 -0.0322) |
| OKLCH | oklch(62.57% 0.16 348.4) |
| XYZ | xyz(33.8696, 22.1114, 32.1838) |
| Luminance | 0.2211 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.57
Pale Magenta
#D767AD
ΔE00 5.03
Darkish Pink
#DA467D
ΔE00 7.28
Barbie Pink
#FE46A5
ΔE00 8.32
Blush
#DE5D83
ΔE00 8.53
Shocking Pink
#FE02A2
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5998 #59CB8C
analogous
#C559CB #CB5998 #CB595F
triadic
#CB5998 #98CB59 #5998CB
tetradic
#CB5998 #CBC559 #59CB8C #595FCB
square
#CB5998 #CBC559 #59CB8C #595FCB
split-complementary
#CB5998 #5FCB59 #59CBC5
monochromatic
#812859 #B0377A #CB5998 #DA88B5 #E8B6D2
Accessibility & contrast
On white
3.87
#CB5998 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#CB5998 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5998
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5998 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5998 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#D85672
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cb5998; /* rgb */ color: rgb(203, 89, 152); /* oklch */ color: oklch(62.6% 0.160 348.4);
Tailwind
colors: {
custom: {
50: '#de8db6',
500: '#cb5998',
950: '#000000',
},
}SCSS
$custom: #cb5998; $custom-light: #de8db6; $custom-dark: #000000;
JSON
{
"hex": "#cb5998",
"rgb": {
"r": 203,
"g": 89,
"b": 152
},
"hsl": {
"h": 326.842,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.6257,
"c": 0.16048,
"h": 348.4
},
"luminance": 0.22108
}Semantic roles & 50–950 ramp
primary
#CB5998
secondary
#A9D7BD
accent
#DC8C4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C11
muted
#847D80