#CB47B2#CB47B2
#CB47B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.204 H 336.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CB47B2 |
|---|---|
| RGB | rgb(203, 71, 178) |
| HSL | hsl(311, 56%, 54%) |
| HSV | hsv(311, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 12.3%, 20.4%) |
| CIE-LAB | lab(52.31, 63.67, -30.33) |
| CIE-LCH | lch(52.31, 70.52, 334.53°) |
| OKLab | oklab(61.56% 0.1862 -0.0824) |
| OKLCH | oklch(61.56% 0.204 336.1) |
| XYZ | xyz(34.9182, 20.4203, 44.2133) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.38
Purpley Pink
#C83CB9
ΔE00 2.76
Purplish Pink
#CE5DAE
ΔE00 5.00
Purpleish Pink
#DF4EC8
ΔE00 5.12
Pinkish Purple
#D648D7
ΔE00 6.11
Hot Magenta
#F504C9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB47B2 #47CB60
analogous
#A247CB #CB47B2 #CB4770
triadic
#CB47B2 #B2CB47 #47B2CB
tetradic
#CB47B2 #CBA247 #47CB60 #4770CB
square
#CB47B2 #CBA247 #47CB60 #4770CB
split-complementary
#CB47B2 #70CB47 #47CBA2
monochromatic
#762166 #A62F8F #CB47B2 #D877C6 #E6A6DA
Accessibility & contrast
On white
4.13
#CB47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#CB47B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB47B2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB47B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB47B2 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D54F76
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cb47b2; /* rgb */ color: rgb(203, 71, 178); /* oklch */ color: oklch(61.6% 0.204 336.1);
Tailwind
colors: {
custom: {
50: '#de83c9',
500: '#cb47b2',
950: '#000000',
},
}SCSS
$custom: #cb47b2; $custom-light: #de83c9; $custom-dark: #000000;
JSON
{
"hex": "#cb47b2",
"rgb": {
"r": 203,
"g": 71,
"b": 178
},
"hsl": {
"h": 311.364,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.61555,
"c": 0.20366,
"h": 336.1
},
"luminance": 0.20417
}Semantic roles & 50–950 ramp
primary
#CB47B2
secondary
#9BD3A5
accent
#DF6549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82