#CB52A2#CB52A2
#CB52A2 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.177 H 343.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CB52A2 |
|---|---|
| RGB | rgb(203, 82, 162) |
| HSL | hsl(320, 54%, 56%) |
| HSV | hsv(320, 60%, 80%) |
| CMYK | cmyk(0%, 59.6%, 20.2%, 20.4%) |
| CIE-LAB | lab(53.32, 56.72, -19.41) |
| CIE-LCH | lch(53.32, 59.94, 341.11°) |
| OKLab | oklab(62.08% 0.1695 -0.0518) |
| OKLCH | oklch(62.08% 0.177 343) |
| XYZ | xyz(34.1684, 21.3428, 36.4955) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.05
Pale Magenta
#D767AD
ΔE00 5.61
Pinky Purple
#C94CBE
ΔE00 6.09
Purpley Pink
#C83CB9
ΔE00 6.87
Purpleish Pink
#DF4EC8
ΔE00 6.91
Bright Pink
#FE01B1
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB52A2 #52CB7B
analogous
#B852CB #CB52A2 #CB5265
triadic
#CB52A2 #A2CB52 #52A2CB
tetradic
#CB52A2 #CBB852 #52CB7B #5265CB
square
#CB52A2 #CBB852 #52CB7B #5265CB
split-complementary
#CB52A2 #65CB52 #52CBB8
monochromatic
#7D265F #AC3483 #CB52A2 #D981BB #E7B0D5
Accessibility & contrast
On white
3.99
#CB52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#CB52A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB52A2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB52A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB52A2 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#7E879F
Tritanopia (blue-blind)
#D75273
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb52a2; /* rgb */ color: rgb(203, 82, 162); /* oklch */ color: oklch(62.1% 0.177 343.0);
Tailwind
colors: {
custom: {
50: '#de89bd',
500: '#cb52a2',
950: '#000000',
},
}SCSS
$custom: #cb52a2; $custom-light: #de89bd; $custom-dark: #000000;
JSON
{
"hex": "#cb52a2",
"rgb": {
"r": 203,
"g": 82,
"b": 162
},
"hsl": {
"h": 320.331,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.6208,
"c": 0.17721,
"h": 343
},
"luminance": 0.2134
}Semantic roles & 50–950 ramp
primary
#CB52A2
secondary
#A3D5B4
accent
#DD7C4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81