#CB42A8#CB42A8
#CB42A8 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.203 H 339.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CB42A8 |
|---|---|
| RGB | rgb(203, 66, 168) |
| HSL | hsl(315, 57%, 53%) |
| HSV | hsv(315, 67%, 80%) |
| CMYK | cmyk(0%, 67.5%, 17.2%, 20.4%) |
| CIE-LAB | lab(51.18, 64.13, -26.23) |
| CIE-LCH | lch(51.18, 69.29, 337.76°) |
| OKLab | oklab(60.59% 0.1905 -0.0708) |
| OKLCH | oklch(60.59% 0.203 339.6) |
| XYZ | xyz(33.6455, 19.4232, 39.0153) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.76
Pinky Purple
#C94CBE
ΔE00 4.34
Purplish Pink
#CE5DAE
ΔE00 5.49
Purpleish Pink
#DF4EC8
ΔE00 6.65
Hot Magenta
#F504C9
ΔE00 7.36
Pinkish Purple
#D648D7
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB42A8 #42CB65
analogous
#A942CB #CB42A8 #CB4264
triadic
#CB42A8 #A8CB42 #42A8CB
tetradic
#CB42A8 #CBA942 #42CB65 #4264CB
square
#CB42A8 #CBA942 #42CB65 #4264CB
split-complementary
#CB42A8 #64CB42 #42CBA9
monochromatic
#73205E #A32D85 #CB42A8 #D872BE #E5A2D4
Accessibility & contrast
On white
4.30
#CB42A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CB42A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB42A8
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB42A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB42A8 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#D6466F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb42a8; /* rgb */ color: rgb(203, 66, 168); /* oklch */ color: oklch(60.6% 0.203 339.6);
Tailwind
colors: {
custom: {
50: '#de81c2',
500: '#cb42a8',
950: '#000000',
},
}SCSS
$custom: #cb42a8; $custom-light: #de81c2; $custom-dark: #000000;
JSON
{
"hex": "#cb42a8",
"rgb": {
"r": 203,
"g": 66,
"b": 168
},
"hsl": {
"h": 315.328,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.60588,
"c": 0.20319,
"h": 339.6
},
"luminance": 0.1942
}Semantic roles & 50–950 ramp
primary
#CB42A8
secondary
#97D2A6
accent
#E06F48
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81