#CB4786#CB4786
#CB4786 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.177 H 354.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4786 |
|---|---|
| RGB | rgb(203, 71, 134) |
| HSL | hsl(331, 56%, 54%) |
| HSV | hsv(331, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 34%, 20.4%) |
| CIE-LAB | lab(50.60, 57.78, -6.91) |
| CIE-LCH | lch(50.60, 58.20, 353.18°) |
| OKLab | oklab(59.74% 0.1765 -0.0175) |
| OKLCH | oklch(59.74% 0.177 354.3) |
| XYZ | xyz(31.1866, 18.9277, 24.5607) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.62
Dark Pink
#CB416B
ΔE00 6.67
Mediumvioletred
#C71585
ΔE00 7.24
Deep Rose
#C74767
ΔE00 8.11
Electric Pink
#FF0490
ΔE00 8.22
Hot Pink (survey)
#FF028D
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4786 #47CB8C
analogous
#CB47C8 #CB4786 #CB4A47
triadic
#CB4786 #86CB47 #4786CB
tetradic
#CB4786 #C8CB47 #47CB8C #4A47CB
square
#CB4786 #C8CB47 #47CB8C #4A47CB
split-complementary
#CB4786 #47CB4A #47C8CB
monochromatic
#76214A #A62F68 #CB4786 #D877A5 #E6A6C5
Accessibility & contrast
On white
4.39
#CB4786 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#CB4786 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4786
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4786 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6988
Deuteranopia (green-blind)
#818183
Tritanopia (blue-blind)
#DA3D61
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb4786; /* rgb */ color: rgb(203, 71, 134); /* oklch */ color: oklch(59.7% 0.177 354.3);
Tailwind
colors: {
custom: {
50: '#df82a9',
500: '#cb4786',
950: '#000000',
},
}SCSS
$custom: #cb4786; $custom-light: #df82a9; $custom-dark: #000000;
JSON
{
"hex": "#cb4786",
"rgb": {
"r": 203,
"g": 71,
"b": 134
},
"hsl": {
"h": 331.364,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.59744,
"c": 0.17736,
"h": 354.3
},
"luminance": 0.18924
}Semantic roles & 50–950 ramp
primary
#CB4786
secondary
#9BD3B8
accent
#DF9749
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F