#CB3AB1#CB3AB1
#CB3AB1 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.219 H 336.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3AB1 |
|---|---|
| RGB | rgb(203, 58, 177) |
| HSL | hsl(311, 58%, 51%) |
| HSV | hsv(311, 71%, 80%) |
| CMYK | cmyk(0%, 71.4%, 12.8%, 20.4%) |
| CIE-LAB | lab(50.57, 68.27, -32.46) |
| CIE-LCH | lch(50.57, 75.59, 334.57°) |
| OKLab | oklab(60.28% 0.2002 -0.0884) |
| OKLCH | oklch(60.28% 0.219 336.2) |
| XYZ | xyz(34.0780, 18.9000, 43.4397) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.68
Pinky Purple
#C94CBE
ΔE00 3.53
Purpleish Pink
#DF4EC8
ΔE00 6.60
Pinkish Purple
#D648D7
ΔE00 6.84
Hot Magenta
#F504C9
ΔE00 6.85
Purple Pink
#D725DE
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3AB1 #3ACB54
analogous
#9C3ACB #CB3AB1 #CB3A68
triadic
#CB3AB1 #B1CB3A #3AB1CB
tetradic
#CB3AB1 #CB9C3A #3ACB54 #3A68CB
square
#CB3AB1 #CB9C3A #3ACB54 #3A68CB
split-complementary
#CB3AB1 #68CB3A #3ACB9C
monochromatic
#6E1D5F #9E2A89 #CB3AB1 #D86AC4 #E59BD7
Accessibility & contrast
On white
4.39
#CB3AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#CB3AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3AB1
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3AB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3AB1 | 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)
#3C6AB4
Deuteranopia (green-blind)
#6E80AE
Tritanopia (blue-blind)
#D54471
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb3ab1; /* rgb */ color: rgb(203, 58, 177); /* oklch */ color: oklch(60.3% 0.219 336.2);
Tailwind
colors: {
custom: {
50: '#df7dc8',
500: '#cb3ab1',
950: '#000000',
},
}SCSS
$custom: #cb3ab1; $custom-light: #df7dc8; $custom-dark: #000000;
JSON
{
"hex": "#cb3ab1",
"rgb": {
"r": 203,
"g": 58,
"b": 177
},
"hsl": {
"h": 310.759,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.60278,
"c": 0.21885,
"h": 336.2
},
"luminance": 0.18897
}Semantic roles & 50–950 ramp
primary
#CB3AB1
secondary
#90D09C
accent
#E16246
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82