#CB478B#CB478B
#CB478B is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.180 H 352.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CB478B |
|---|---|
| RGB | rgb(203, 71, 139) |
| HSL | hsl(329, 56%, 54%) |
| HSV | hsv(329, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 31.5%, 20.4%) |
| CIE-LAB | lab(50.77, 58.37, -9.66) |
| CIE-LCH | lch(50.77, 59.17, 350.61°) |
| OKLab | oklab(59.92% 0.178 -0.0249) |
| OKLCH | oklch(59.92% 0.18 352) |
| XYZ | xyz(31.5436, 19.0705, 26.4409) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.58
Mediumvioletred
#C71585
ΔE00 6.93
Purplish Pink
#CE5DAE
ΔE00 7.73
Dark Pink
#CB416B
ΔE00 7.85
Neon Pink
#FE019A
ΔE00 8.05
Electric Pink
#FF0490
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB478B #47CB87
analogous
#C947CB #CB478B #CB4749
triadic
#CB478B #8BCB47 #478BCB
tetradic
#CB478B #CBC947 #47CB87 #4749CB
square
#CB478B #CBC947 #47CB87 #4749CB
split-complementary
#CB478B #49CB47 #47CBC9
monochromatic
#76214D #A62F6C #CB478B #D877A9 #E6A6C7
Accessibility & contrast
On white
4.36
#CB478B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CB478B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB478B
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB478B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB478B | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6A8D
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#DA3F63
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cb478b; /* rgb */ color: rgb(203, 71, 139); /* oklch */ color: oklch(59.9% 0.180 352.0);
Tailwind
colors: {
custom: {
50: '#df82ac',
500: '#cb478b',
950: '#000000',
},
}SCSS
$custom: #cb478b; $custom-light: #df82ac; $custom-dark: #000000;
JSON
{
"hex": "#cb478b",
"rgb": {
"r": 203,
"g": 71,
"b": 139
},
"hsl": {
"h": 329.091,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.59922,
"c": 0.17968,
"h": 352
},
"luminance": 0.19067
}Semantic roles & 50–950 ramp
primary
#CB478B
secondary
#9BD3B6
accent
#DF9249
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F