#CB37B2#CB37B2
#CB37B2 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.1% C 0.223 H 335.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CB37B2 |
|---|---|
| RGB | rgb(203, 55, 178) |
| HSL | hsl(310, 59%, 51%) |
| HSV | hsv(310, 73%, 80%) |
| CMYK | cmyk(0%, 72.9%, 12.3%, 20.4%) |
| CIE-LAB | lab(50.27, 69.39, -33.51) |
| CIE-LCH | lch(50.27, 77.06, 334.22°) |
| OKLab | oklab(60.08% 0.2032 -0.0914) |
| OKLCH | oklch(60.08% 0.223 335.8) |
| XYZ | xyz(34.0312, 18.6463, 43.9176) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.51
Pinky Purple
#C94CBE
ΔE00 3.75
Purple Pink
#D725DE
ΔE00 6.75
Purpleish Pink
#DF4EC8
ΔE00 6.87
Pinkish Purple
#D648D7
ΔE00 6.88
Hot Magenta
#F504C9
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB37B2 #37CB50
analogous
#9A37CB #CB37B2 #CB3768
triadic
#CB37B2 #B2CB37 #37B2CB
tetradic
#CB37B2 #CB9A37 #37CB50 #3768CB
square
#CB37B2 #CB9A37 #37CB50 #3768CB
split-complementary
#CB37B2 #68CB37 #37CB9A
monochromatic
#6C1C5E #9C2989 #CB37B2 #D868C5 #E498D7
Accessibility & contrast
On white
4.44
#CB37B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CB37B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB37B2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB37B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB37B2 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#6C80AE
Tritanopia (blue-blind)
#D54271
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb37b2; /* rgb */ color: rgb(203, 55, 178); /* oklch */ color: oklch(60.1% 0.223 335.8);
Tailwind
colors: {
custom: {
50: '#df7cc9',
500: '#cb37b2',
950: '#000000',
},
}SCSS
$custom: #cb37b2; $custom-light: #df7cc9; $custom-dark: #000000;
JSON
{
"hex": "#cb37b2",
"rgb": {
"r": 203,
"g": 55,
"b": 178
},
"hsl": {
"h": 310.135,
"s": 58.73,
"l": 50.588
},
"oklch": {
"l": 0.60078,
"c": 0.22283,
"h": 335.8
},
"luminance": 0.18643
}Semantic roles & 50–950 ramp
primary
#CB37B2
secondary
#8ED099
accent
#E26046
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82