#CB3873#CB3873
#CB3873 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 0.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3873 |
|---|---|
| RGB | rgb(203, 56, 115) |
| HSL | hsl(336, 59%, 51%) |
| HSV | hsv(336, 72%, 80%) |
| CMYK | cmyk(0%, 72.4%, 43.3%, 20.4%) |
| CIE-LAB | lab(47.96, 61.44, 0.68) |
| CIE-LCH | lch(47.96, 61.44, 0.64°) |
| OKLab | oklab(57.61% 0.1884 0.0025) |
| OKLCH | oklch(57.61% 0.188 0.8) |
| XYZ | xyz(29.1395, 16.7664, 17.9181) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.37
Dark Hot Pink
#D90166
ΔE00 4.30
Darkish Pink
#DA467D
ΔE00 4.76
Deep Pink
#CB0162
ΔE00 5.08
Deep Rose
#C74767
ΔE00 5.12
Cerise
#DE0C62
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3873 #38CB90
analogous
#CB38BD #CB3873 #CB4638
triadic
#CB3873 #73CB38 #3873CB
tetradic
#CB3873 #BDCB38 #38CB90 #4638CB
square
#CB3873 #BDCB38 #38CB90 #4638CB
split-complementary
#CB3873 #38CB46 #38BDCB
monochromatic
#6C1C3C #9D2957 #CB3873 #D86995 #E499B7
Accessibility & contrast
On white
4.82
#CB3873 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#CB3873 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB3873
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB3873 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586074
Deuteranopia (green-blind)
#807C70
Tritanopia (blue-blind)
#DC2151
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cb3873; /* rgb */ color: rgb(203, 56, 115); /* oklch */ color: oklch(57.6% 0.188 0.8);
Tailwind
colors: {
custom: {
50: '#e07a9b',
500: '#cb3873',
950: '#000000',
},
}SCSS
$custom: #cb3873; $custom-light: #e07a9b; $custom-dark: #000000;
JSON
{
"hex": "#cb3873",
"rgb": {
"r": 203,
"g": 56,
"b": 115
},
"hsl": {
"h": 335.918,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.57605,
"c": 0.18842,
"h": 0.8
},
"luminance": 0.16763
}Semantic roles & 50–950 ramp
primary
#CB3873
secondary
#8FD0B6
accent
#E2A346
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E