#CB4780#CB4780
#CB4780 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.175 H 357.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4780 |
|---|---|
| RGB | rgb(203, 71, 128) |
| HSL | hsl(334, 56%, 54%) |
| HSV | hsv(334, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 36.9%, 20.4%) |
| CIE-LAB | lab(50.41, 57.10, -3.60) |
| CIE-LCH | lch(50.41, 57.22, 356.39°) |
| OKLab | oklab(59.54% 0.1746 -0.0087) |
| OKLCH | oklch(59.54% 0.175 357.1) |
| XYZ | xyz(30.7800, 18.7650, 22.4190) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.60
Dark Pink
#CB416B
ΔE00 5.20
Deep Rose
#C74767
ΔE00 6.63
Dark Hot Pink
#D90166
ΔE00 7.33
Blush
#DE5D83
ΔE00 7.62
Mediumvioletred
#C71585
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4780 #47CB92
analogous
#CB47C2 #CB4780 #CB5047
triadic
#CB4780 #80CB47 #4780CB
tetradic
#CB4780 #C2CB47 #47CB92 #5047CB
square
#CB4780 #C2CB47 #47CB92 #5047CB
split-complementary
#CB4780 #47CB50 #47C2CB
monochromatic
#762146 #A62F62 #CB4780 #D877A1 #E6A6C2
Accessibility & contrast
On white
4.42
#CB4780 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#CB4780 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4780
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4780 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4780 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6882
Deuteranopia (green-blind)
#82817D
Tritanopia (blue-blind)
#DB3B5E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb4780; /* rgb */ color: rgb(203, 71, 128); /* oklch */ color: oklch(59.5% 0.175 357.1);
Tailwind
colors: {
custom: {
50: '#df82a4',
500: '#cb4780',
950: '#000000',
},
}SCSS
$custom: #cb4780; $custom-light: #df82a4; $custom-dark: #000000;
JSON
{
"hex": "#cb4780",
"rgb": {
"r": 203,
"g": 71,
"b": 128
},
"hsl": {
"h": 334.091,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.5954,
"c": 0.17485,
"h": 357.1
},
"luminance": 0.18761
}Semantic roles & 50–950 ramp
primary
#CB4780
secondary
#9BD3BB
accent
#DF9E49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F