#CB4A8B#CB4A8B
#CB4A8B is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.176 H 352.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4A8B |
|---|---|
| RGB | rgb(203, 74, 139) |
| HSL | hsl(330, 55%, 54%) |
| HSV | hsv(330, 64%, 80%) |
| CMYK | cmyk(0%, 63.5%, 31.5%, 20.4%) |
| CIE-LAB | lab(51.22, 57.13, -8.98) |
| CIE-LCH | lch(51.22, 57.84, 351.07°) |
| OKLab | oklab(60.26% 0.1741 -0.0231) |
| OKLCH | oklch(60.26% 0.176 352.4) |
| XYZ | xyz(31.7392, 19.4615, 26.5061) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.28
Mediumvioletred
#C71585
ΔE00 7.54
Purplish Pink
#CE5DAE
ΔE00 7.57
Dark Pink
#CB416B
ΔE00 7.73
Neon Pink
#FE019A
ΔE00 8.07
Deeppink
#FF1493
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4A8B #4ACB8A
analogous
#CA4ACB #CB4A8B #CB4A4B
triadic
#CB4A8B #8BCB4A #4A8BCB
tetradic
#CB4A8B #CBCA4A #4ACB8A #4A4BCB
square
#CB4A8B #CBCA4A #4ACB8A #4A4BCB
split-complementary
#CB4A8B #4BCB4A #4ACBCA
monochromatic
#78234E #A8306C #CB4A8B #D97AA9 #E6A9C8
Accessibility & contrast
On white
4.29
#CB4A8B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#CB4A8B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4A8B
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4A8B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4A8B | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6B8D
Deuteranopia (green-blind)
#818388
Tritanopia (blue-blind)
#DA4264
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb4a8b; /* rgb */ color: rgb(203, 74, 139); /* oklch */ color: oklch(60.3% 0.176 352.4);
Tailwind
colors: {
custom: {
50: '#df84ac',
500: '#cb4a8b',
950: '#000000',
},
}SCSS
$custom: #cb4a8b; $custom-light: #df84ac; $custom-dark: #000000;
JSON
{
"hex": "#cb4a8b",
"rgb": {
"r": 203,
"g": 74,
"b": 139
},
"hsl": {
"h": 329.767,
"s": 55.365,
"l": 54.314
},
"oklch": {
"l": 0.60257,
"c": 0.17561,
"h": 352.4
},
"luminance": 0.19458
}Semantic roles & 50–950 ramp
primary
#CB4A8B
secondary
#9DD4B8
accent
#DF9349
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F