#CB42A7#CB42A7
#CB42A7 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.5% C 0.203 H 340.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CB42A7 |
|---|---|
| RGB | rgb(203, 66, 167) |
| HSL | hsl(316, 57%, 53%) |
| HSV | hsv(316, 67%, 80%) |
| CMYK | cmyk(0%, 67.5%, 17.7%, 20.4%) |
| CIE-LAB | lab(51.14, 63.99, -25.71) |
| CIE-LCH | lch(51.14, 68.96, 338.11°) |
| OKLab | oklab(60.54% 0.1903 -0.0693) |
| OKLCH | oklch(60.54% 0.203 340) |
| XYZ | xyz(33.5527, 19.3861, 38.5265) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.94
Pinky Purple
#C94CBE
ΔE00 4.52
Purplish Pink
#CE5DAE
ΔE00 5.49
Purpleish Pink
#DF4EC8
ΔE00 6.77
Hot Magenta
#F504C9
ΔE00 7.46
Mediumvioletred
#C71585
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB42A7 #42CB66
analogous
#AA42CB #CB42A7 #CB4263
triadic
#CB42A7 #A7CB42 #42A7CB
tetradic
#CB42A7 #CBAA42 #42CB66 #4263CB
square
#CB42A7 #CBAA42 #42CB66 #4263CB
split-complementary
#CB42A7 #63CB42 #42CBAA
monochromatic
#73205D #A32D84 #CB42A7 #D872BD #E5A2D4
Accessibility & contrast
On white
4.31
#CB42A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CB42A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB42A7
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB42A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB42A7 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 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)
#4A6CAA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#D7466F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb42a7; /* rgb */ color: rgb(203, 66, 167); /* oklch */ color: oklch(60.5% 0.203 340.0);
Tailwind
colors: {
custom: {
50: '#de81c1',
500: '#cb42a7',
950: '#000000',
},
}SCSS
$custom: #cb42a7; $custom-light: #de81c1; $custom-dark: #000000;
JSON
{
"hex": "#cb42a7",
"rgb": {
"r": 203,
"g": 66,
"b": 167
},
"hsl": {
"h": 315.766,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.60543,
"c": 0.20253,
"h": 340
},
"luminance": 0.19383
}Semantic roles & 50–950 ramp
primary
#CB42A7
secondary
#97D2A6
accent
#E07048
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81