#CB479E#CB479E
#CB479E is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.190 H 343.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CB479E |
|---|---|
| RGB | rgb(203, 71, 158) |
| HSL | hsl(320, 56%, 54%) |
| HSV | hsv(320, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 22.2%, 20.4%) |
| CIE-LAB | lab(51.47, 60.81, -19.89) |
| CIE-LCH | lch(51.47, 63.98, 341.89°) |
| OKLab | oklab(60.67% 0.1827 -0.053) |
| OKLCH | oklch(60.67% 0.19 343.8) |
| XYZ | xyz(33.0545, 19.6748, 34.3979) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.04
Purpley Pink
#C83CB9
ΔE00 6.13
Pinky Purple
#C94CBE
ΔE00 6.29
Mediumvioletred
#C71585
ΔE00 7.54
Pale Magenta
#D767AD
ΔE00 7.64
Purpleish Pink
#DF4EC8
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB479E #47CB74
analogous
#B647CB #CB479E #CB475C
triadic
#CB479E #9ECB47 #479ECB
tetradic
#CB479E #CBB647 #47CB74 #475CCB
square
#CB479E #CBB647 #47CB74 #475CCB
split-complementary
#CB479E #5CCB47 #47CBB6
monochromatic
#762159 #A62F7D #CB479E #D877B7 #E6A6D0
Accessibility & contrast
On white
4.26
#CB479E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#CB479E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB479E
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB479E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB479E | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536DA1
Deuteranopia (green-blind)
#7A839B
Tritanopia (blue-blind)
#D8476C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb479e; /* rgb */ color: rgb(203, 71, 158); /* oklch */ color: oklch(60.7% 0.190 343.8);
Tailwind
colors: {
custom: {
50: '#de83ba',
500: '#cb479e',
950: '#000000',
},
}SCSS
$custom: #cb479e; $custom-light: #de83ba; $custom-dark: #000000;
JSON
{
"hex": "#cb479e",
"rgb": {
"r": 203,
"g": 71,
"b": 158
},
"hsl": {
"h": 320.455,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60665,
"c": 0.19023,
"h": 343.8
},
"luminance": 0.19672
}Semantic roles & 50–950 ramp
primary
#CB479E
secondary
#9BD3AE
accent
#DF7C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80