#CB42B3#CB42B3
#CB42B3 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.1% C 0.211 H 335.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CB42B3 |
|---|---|
| RGB | rgb(203, 66, 179) |
| HSL | hsl(311, 57%, 53%) |
| HSV | hsv(311, 67%, 80%) |
| CMYK | cmyk(0%, 67.5%, 11.8%, 20.4%) |
| CIE-LAB | lab(51.67, 65.73, -31.91) |
| CIE-LCH | lch(51.67, 73.07, 334.10°) |
| OKLab | oklab(61.1% 0.192 -0.0869) |
| OKLCH | oklch(61.1% 0.211 335.6) |
| XYZ | xyz(34.7139, 19.8506, 44.6423) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.95
Pinky Purple
#C94CBE
ΔE00 2.50
Purpleish Pink
#DF4EC8
ΔE00 5.56
Purplish Pink
#CE5DAE
ΔE00 5.89
Pinkish Purple
#D648D7
ΔE00 6.10
Hot Magenta
#F504C9
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB42B3 #42CB5A
analogous
#9E42CB #CB42B3 #CB426E
triadic
#CB42B3 #B3CB42 #42B3CB
tetradic
#CB42B3 #CB9E42 #42CB5A #426ECB
square
#CB42B3 #CB9E42 #42CB5A #426ECB
split-complementary
#CB42B3 #6ECB42 #42CB9E
monochromatic
#732064 #A32D8E #CB42B3 #D872C6 #E5A2DA
Accessibility & contrast
On white
4.23
#CB42B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CB42B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB42B3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB42B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB42B3 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#7083B0
Tritanopia (blue-blind)
#D54B75
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb42b3; /* rgb */ color: rgb(203, 66, 179); /* oklch */ color: oklch(61.1% 0.211 335.6);
Tailwind
colors: {
custom: {
50: '#de81ca',
500: '#cb42b3',
950: '#000000',
},
}SCSS
$custom: #cb42b3; $custom-light: #de81ca; $custom-dark: #000000;
JSON
{
"hex": "#cb42b3",
"rgb": {
"r": 203,
"g": 66,
"b": 179
},
"hsl": {
"h": 310.511,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.61104,
"c": 0.21078,
"h": 335.6
},
"luminance": 0.19848
}Semantic roles & 50–950 ramp
primary
#CB42B3
secondary
#97D2A1
accent
#E06248
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82