#CB3AB2#CB3AB2
#CB3AB2 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.220 H 335.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3AB2 |
|---|---|
| RGB | rgb(203, 58, 178) |
| HSL | hsl(310, 58%, 51%) |
| HSV | hsv(310, 71%, 80%) |
| CMYK | cmyk(0%, 71.4%, 12.3%, 20.4%) |
| CIE-LAB | lab(50.62, 68.41, -32.97) |
| CIE-LCH | lch(50.62, 75.94, 334.27°) |
| OKLab | oklab(60.33% 0.2003 -0.0899) |
| OKLCH | oklch(60.33% 0.22 335.8) |
| XYZ | xyz(34.1780, 18.9400, 43.9666) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.51
Pinky Purple
#C94CBE
ΔE00 3.42
Purpleish Pink
#DF4EC8
ΔE00 6.53
Pinkish Purple
#D648D7
ΔE00 6.69
Purple Pink
#D725DE
ΔE00 6.79
Hot Magenta
#F504C9
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3AB2 #3ACB53
analogous
#9B3ACB #CB3AB2 #CB3A69
triadic
#CB3AB2 #B2CB3A #3AB2CB
tetradic
#CB3AB2 #CB9B3A #3ACB53 #3A69CB
square
#CB3AB2 #CB9B3A #3ACB53 #3A69CB
split-complementary
#CB3AB2 #69CB3A #3ACB9B
monochromatic
#6E1D60 #9E2A8A #CB3AB2 #D86AC5 #E59BD8
Accessibility & contrast
On white
4.39
#CB3AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#CB3AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3AB2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3AB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3AB2 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6BB5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#D54472
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb3ab2; /* rgb */ color: rgb(203, 58, 178); /* oklch */ color: oklch(60.3% 0.220 335.8);
Tailwind
colors: {
custom: {
50: '#df7dc9',
500: '#cb3ab2',
950: '#000000',
},
}SCSS
$custom: #cb3ab2; $custom-light: #df7dc9; $custom-dark: #000000;
JSON
{
"hex": "#cb3ab2",
"rgb": {
"r": 203,
"g": 58,
"b": 178
},
"hsl": {
"h": 310.345,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.60327,
"c": 0.21954,
"h": 335.8
},
"luminance": 0.18937
}Semantic roles & 50–950 ramp
primary
#CB3AB2
secondary
#90D09B
accent
#E16146
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82