#CB4A9B#CB4A9B
#CB4A9B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.9% C 0.184 H 345.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4A9B |
|---|---|
| RGB | rgb(203, 74, 155) |
| HSL | hsl(322, 55%, 54%) |
| HSV | hsv(322, 64%, 80%) |
| CMYK | cmyk(0%, 63.5%, 23.6%, 20.4%) |
| CIE-LAB | lab(51.80, 59.18, -17.61) |
| CIE-LCH | lch(51.80, 61.74, 343.42°) |
| OKLab | oklab(60.87% 0.1783 -0.0467) |
| OKLCH | oklch(60.87% 0.184 345.3) |
| XYZ | xyz(32.9949, 19.9638, 33.1197) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.93
Pinky Purple
#C94CBE
ΔE00 7.02
Purpley Pink
#C83CB9
ΔE00 7.06
Pale Magenta
#D767AD
ΔE00 7.18
Mediumvioletred
#C71585
ΔE00 7.77
Shocking Pink
#FE02A2
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4A9B #4ACB7A
analogous
#BB4ACB #CB4A9B #CB4A5A
triadic
#CB4A9B #9BCB4A #4A9BCB
tetradic
#CB4A9B #CBBB4A #4ACB7A #4A5ACB
square
#CB4A9B #CBBB4A #4ACB7A #4A5ACB
split-complementary
#CB4A9B #5ACB4A #4ACBBB
monochromatic
#782358 #A8307B #CB4A9B #D97AB5 #E6A9D0
Accessibility & contrast
On white
4.21
#CB4A9B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#CB4A9B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4A9B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4A9B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4A9B | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576E9D
Deuteranopia (green-blind)
#7D8498
Tritanopia (blue-blind)
#D8486C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb4a9b; /* rgb */ color: rgb(203, 74, 155); /* oklch */ color: oklch(60.9% 0.184 345.3);
Tailwind
colors: {
custom: {
50: '#de84b8',
500: '#cb4a9b',
950: '#000000',
},
}SCSS
$custom: #cb4a9b; $custom-light: #de84b8; $custom-dark: #000000;
JSON
{
"hex": "#cb4a9b",
"rgb": {
"r": 203,
"g": 74,
"b": 155
},
"hsl": {
"h": 322.326,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.60868,
"c": 0.1843,
"h": 345.3
},
"luminance": 0.19961
}Semantic roles & 50–950 ramp
primary
#CB4A9B
secondary
#9DD4B1
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80