#CB478E#CB478E
#CB478E is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.181 H 350.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CB478E |
|---|---|
| RGB | rgb(203, 71, 142) |
| HSL | hsl(328, 56%, 54%) |
| HSV | hsv(328, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 30%, 20.4%) |
| CIE-LAB | lab(50.87, 58.74, -11.29) |
| CIE-LCH | lch(50.87, 59.81, 349.12°) |
| OKLab | oklab(60.03% 0.1788 -0.0293) |
| OKLCH | oklch(60.03% 0.181 350.7) |
| XYZ | xyz(31.7659, 19.1594, 27.6112) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.18
Mediumvioletred
#C71585
ΔE00 6.85
Purplish Pink
#CE5DAE
ΔE00 7.19
Neon Pink
#FE019A
ΔE00 8.00
Shocking Pink
#FE02A2
ΔE00 8.16
Deeppink
#FF1493
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB478E #47CB84
analogous
#C647CB #CB478E #CB474C
triadic
#CB478E #8ECB47 #478ECB
tetradic
#CB478E #CBC647 #47CB84 #474CCB
square
#CB478E #CBC647 #47CB84 #474CCB
split-complementary
#CB478E #4CCB47 #47CBC6
monochromatic
#76214F #A62F6F #CB478E #D877AB #E6A6C9
Accessibility & contrast
On white
4.35
#CB478E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#CB478E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB478E
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB478E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB478E | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6A90
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#D94064
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cb478e; /* rgb */ color: rgb(203, 71, 142); /* oklch */ color: oklch(60.0% 0.181 350.7);
Tailwind
colors: {
custom: {
50: '#df82af',
500: '#cb478e',
950: '#000000',
},
}SCSS
$custom: #cb478e; $custom-light: #df82af; $custom-dark: #000000;
JSON
{
"hex": "#cb478e",
"rgb": {
"r": 203,
"g": 71,
"b": 142
},
"hsl": {
"h": 327.727,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60033,
"c": 0.18118,
"h": 350.7
},
"luminance": 0.19156
}Semantic roles & 50–950 ramp
primary
#CB478E
secondary
#9BD3B5
accent
#DF8E49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F