#CB47A2#CB47A2
#CB47A2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.193 H 342.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CB47A2 |
|---|---|
| RGB | rgb(203, 71, 162) |
| HSL | hsl(319, 56%, 54%) |
| HSV | hsv(319, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 20.2%, 20.4%) |
| CIE-LAB | lab(51.63, 61.35, -22.01) |
| CIE-LCH | lch(51.63, 65.18, 340.27°) |
| OKLab | oklab(60.83% 0.1835 -0.0589) |
| OKLCH | oklch(60.83% 0.193 342.2) |
| XYZ | xyz(33.4044, 19.8148, 36.2408) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.77
Purpley Pink
#C83CB9
ΔE00 5.36
Pinky Purple
#C94CBE
ΔE00 5.46
Purpleish Pink
#DF4EC8
ΔE00 7.14
Pale Magenta
#D767AD
ΔE00 7.65
Bright Pink
#FE01B1
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB47A2 #47CB70
analogous
#B247CB #CB47A2 #CB4760
triadic
#CB47A2 #A2CB47 #47A2CB
tetradic
#CB47A2 #CBB247 #47CB70 #4760CB
square
#CB47A2 #CBB247 #47CB70 #4760CB
split-complementary
#CB47A2 #60CB47 #47CBB2
monochromatic
#76215C #A62F81 #CB47A2 #D877BA #E6A6D2
Accessibility & contrast
On white
4.23
#CB47A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CB47A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB47A2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB47A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB47A2 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D7486E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb47a2; /* rgb */ color: rgb(203, 71, 162); /* oklch */ color: oklch(60.8% 0.193 342.2);
Tailwind
colors: {
custom: {
50: '#de83bd',
500: '#cb47a2',
950: '#000000',
},
}SCSS
$custom: #cb47a2; $custom-light: #de83bd; $custom-dark: #000000;
JSON
{
"hex": "#cb47a2",
"rgb": {
"r": 203,
"g": 71,
"b": 162
},
"hsl": {
"h": 318.636,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.60834,
"c": 0.19275,
"h": 342.2
},
"luminance": 0.19812
}Semantic roles & 50–950 ramp
primary
#CB47A2
secondary
#9BD3AC
accent
#DF7749
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81