#CB4791#CB4791
#CB4791 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.183 H 349.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4791 |
|---|---|
| RGB | rgb(203, 71, 145) |
| HSL | hsl(326, 56%, 54%) |
| HSV | hsv(326, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 28.6%, 20.4%) |
| CIE-LAB | lab(50.98, 59.11, -12.92) |
| CIE-LCH | lch(50.98, 60.51, 347.67°) |
| OKLab | oklab(60.15% 0.1796 -0.0338) |
| OKLCH | oklch(60.15% 0.183 349.4) |
| XYZ | xyz(31.9941, 19.2507, 28.8134) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.68
Darkish Pink
#DA467D
ΔE00 6.79
Mediumvioletred
#C71585
ΔE00 6.84
Neon Pink
#FE019A
ΔE00 8.00
Shocking Pink
#FE02A2
ΔE00 8.03
Pale Magenta
#D767AD
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4791 #47CB81
analogous
#C347CB #CB4791 #CB474F
triadic
#CB4791 #91CB47 #4791CB
tetradic
#CB4791 #CBC347 #47CB81 #474FCB
square
#CB4791 #CBC347 #47CB81 #474FCB
split-complementary
#CB4791 #4FCB47 #47CBC3
monochromatic
#762151 #A62F72 #CB4791 #D877AE #E6A6CA
Accessibility & contrast
On white
4.33
#CB4791 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#CB4791 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4791
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4791 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4791 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596B93
Deuteranopia (green-blind)
#7E828E
Tritanopia (blue-blind)
#D94166
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cb4791; /* rgb */ color: rgb(203, 71, 145); /* oklch */ color: oklch(60.1% 0.183 349.4);
Tailwind
colors: {
custom: {
50: '#df83b1',
500: '#cb4791',
950: '#000000',
},
}SCSS
$custom: #cb4791; $custom-light: #df83b1; $custom-dark: #000000;
JSON
{
"hex": "#cb4791",
"rgb": {
"r": 203,
"g": 71,
"b": 145
},
"hsl": {
"h": 326.364,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60146,
"c": 0.18274,
"h": 349.4
},
"luminance": 0.19247
}Semantic roles & 50–950 ramp
primary
#CB4791
secondary
#9BD3B3
accent
#DF8B49
background
#FEF8FA
surface
#FCEFF5
border
#D5CACF
text
#160B10
muted
#847C7F