#CB477F#CB477F
#CB477F is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.5% C 0.174 H 357.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CB477F |
|---|---|
| RGB | rgb(203, 71, 127) |
| HSL | hsl(335, 56%, 54%) |
| HSV | hsv(335, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 37.4%, 20.4%) |
| CIE-LAB | lab(50.38, 56.99, -3.04) |
| CIE-LCH | lch(50.38, 57.07, 356.94°) |
| OKLab | oklab(59.51% 0.1743 -0.0073) |
| OKLCH | oklch(59.51% 0.174 357.6) |
| XYZ | xyz(30.7145, 18.7388, 22.0740) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.46
Dark Pink
#CB416B
ΔE00 4.95
Deep Rose
#C74767
ΔE00 6.37
Dark Hot Pink
#D90166
ΔE00 7.18
Blush
#DE5D83
ΔE00 7.52
Cerise
#DE0C62
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB477F #47CB93
analogous
#CB47C1 #CB477F #CB5147
triadic
#CB477F #7FCB47 #477FCB
tetradic
#CB477F #C1CB47 #47CB93 #5147CB
square
#CB477F #C1CB47 #47CB93 #5147CB
split-complementary
#CB477F #47CB51 #47C1CB
monochromatic
#762145 #A62F61 #CB477F #D877A0 #E6A6C1
Accessibility & contrast
On white
4.42
#CB477F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#CB477F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB477F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB477F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB477F | 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)
#5F6881
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#DB3B5E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb477f; /* rgb */ color: rgb(203, 71, 127); /* oklch */ color: oklch(59.5% 0.174 357.6);
Tailwind
colors: {
custom: {
50: '#df82a4',
500: '#cb477f',
950: '#000000',
},
}SCSS
$custom: #cb477f; $custom-light: #df82a4; $custom-dark: #000000;
JSON
{
"hex": "#cb477f",
"rgb": {
"r": 203,
"g": 71,
"b": 127
},
"hsl": {
"h": 334.545,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.59507,
"c": 0.17446,
"h": 357.6
},
"luminance": 0.18735
}Semantic roles & 50–950 ramp
primary
#CB477F
secondary
#9BD3BB
accent
#DF9F49
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F