#CB479F#CB479F
#CB479F is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.191 H 343.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CB479F |
|---|---|
| RGB | rgb(203, 71, 159) |
| HSL | hsl(320, 56%, 54%) |
| HSV | hsv(320, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 21.7%, 20.4%) |
| CIE-LAB | lab(51.51, 60.94, -20.42) |
| CIE-LCH | lch(51.51, 64.27, 341.48°) |
| OKLab | oklab(60.71% 0.1829 -0.0545) |
| OKLCH | oklch(60.71% 0.191 343.4) |
| XYZ | xyz(33.1409, 19.7094, 34.8531) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.96
Purpley Pink
#C83CB9
ΔE00 5.93
Pinky Purple
#C94CBE
ΔE00 6.08
Purpleish Pink
#DF4EC8
ΔE00 7.62
Mediumvioletred
#C71585
ΔE00 7.63
Pale Magenta
#D767AD
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB479F #47CB73
analogous
#B547CB #CB479F #CB475D
triadic
#CB479F #9FCB47 #479FCB
tetradic
#CB479F #CBB547 #47CB73 #475DCB
square
#CB479F #CBB547 #47CB73 #475DCB
split-complementary
#CB479F #5DCB47 #47CBB5
monochromatic
#76215A #A62F7E #CB479F #D877B8 #E6A6D1
Accessibility & contrast
On white
4.25
#CB479F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#CB479F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB479F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB479F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB479F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536DA2
Deuteranopia (green-blind)
#7A839C
Tritanopia (blue-blind)
#D7476D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb479f; /* rgb */ color: rgb(203, 71, 159); /* oklch */ color: oklch(60.7% 0.191 343.4);
Tailwind
colors: {
custom: {
50: '#de83bb',
500: '#cb479f',
950: '#000000',
},
}SCSS
$custom: #cb479f; $custom-light: #de83bb; $custom-dark: #000000;
JSON
{
"hex": "#cb479f",
"rgb": {
"r": 203,
"g": 71,
"b": 159
},
"hsl": {
"h": 320,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60707,
"c": 0.19085,
"h": 343.4
},
"luminance": 0.19706
}Semantic roles & 50–950 ramp
primary
#CB479F
secondary
#9BD3AD
accent
#DF7B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81