#CB4781#CB4781
#CB4781 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.175 H 356.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4781 |
|---|---|
| RGB | rgb(203, 71, 129) |
| HSL | hsl(334, 56%, 54%) |
| HSV | hsv(334, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 36.5%, 20.4%) |
| CIE-LAB | lab(50.44, 57.21, -4.15) |
| CIE-LCH | lch(50.44, 57.36, 355.85°) |
| OKLab | oklab(59.57% 0.175 -0.0102) |
| OKLCH | oklch(59.57% 0.175 356.7) |
| XYZ | xyz(30.8461, 18.7915, 22.7673) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.75
Dark Pink
#CB416B
ΔE00 5.45
Deep Rose
#C74767
ΔE00 6.88
Dark Hot Pink
#D90166
ΔE00 7.49
Blush
#DE5D83
ΔE00 7.73
Mediumvioletred
#C71585
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4781 #47CB91
analogous
#CB47C3 #CB4781 #CB4F47
triadic
#CB4781 #81CB47 #4781CB
tetradic
#CB4781 #C3CB47 #47CB91 #4F47CB
square
#CB4781 #C3CB47 #47CB91 #4F47CB
split-complementary
#CB4781 #47CB4F #47C3CB
monochromatic
#762147 #A62F63 #CB4781 #D877A2 #E6A6C2
Accessibility & contrast
On white
4.41
#CB4781 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#CB4781 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4781
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4781 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4781 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6883
Deuteranopia (green-blind)
#82817E
Tritanopia (blue-blind)
#DB3B5E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb4781; /* rgb */ color: rgb(203, 71, 129); /* oklch */ color: oklch(59.6% 0.175 356.7);
Tailwind
colors: {
custom: {
50: '#df82a5',
500: '#cb4781',
950: '#000000',
},
}SCSS
$custom: #cb4781; $custom-light: #df82a5; $custom-dark: #000000;
JSON
{
"hex": "#cb4781",
"rgb": {
"r": 203,
"g": 71,
"b": 129
},
"hsl": {
"h": 333.636,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.59573,
"c": 0.17525,
"h": 356.7
},
"luminance": 0.18788
}Semantic roles & 50–950 ramp
primary
#CB4781
secondary
#9BD3BA
accent
#DF9D49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F