#CB50A2#CB50A2
#CB50A2 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.180 H 342.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CB50A2 |
|---|---|
| RGB | rgb(203, 80, 162) |
| HSL | hsl(320, 54%, 55%) |
| HSV | hsv(320, 61%, 80%) |
| CMYK | cmyk(0%, 60.6%, 20.2%, 20.4%) |
| CIE-LAB | lab(53.00, 57.59, -19.90) |
| CIE-LCH | lch(53.00, 60.94, 340.94°) |
| OKLab | oklab(61.84% 0.1721 -0.0531) |
| OKLCH | oklch(61.84% 0.18 342.8) |
| XYZ | xyz(34.0198, 21.0455, 36.4459) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.33
Pinky Purple
#C94CBE
ΔE00 5.91
Pale Magenta
#D767AD
ΔE00 5.99
Purpley Pink
#C83CB9
ΔE00 6.55
Purpleish Pink
#DF4EC8
ΔE00 6.90
Bright Pink
#FE01B1
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB50A2 #50CB79
analogous
#B650CB #CB50A2 #CB5064
triadic
#CB50A2 #A2CB50 #50A2CB
tetradic
#CB50A2 #CBB650 #50CB79 #5064CB
square
#CB50A2 #CBB650 #50CB79 #5064CB
split-complementary
#CB50A2 #64CB50 #50CBB6
monochromatic
#7C255F #AB3383 #CB50A2 #D97FBB #E7AED4
Accessibility & contrast
On white
4.03
#CB50A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#CB50A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB50A2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB50A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB50A2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D75072
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb50a2; /* rgb */ color: rgb(203, 80, 162); /* oklch */ color: oklch(61.8% 0.180 342.8);
Tailwind
colors: {
custom: {
50: '#de88bd',
500: '#cb50a2',
950: '#000000',
},
}SCSS
$custom: #cb50a2; $custom-light: #de88bd; $custom-dark: #000000;
JSON
{
"hex": "#cb50a2",
"rgb": {
"r": 203,
"g": 80,
"b": 162
},
"hsl": {
"h": 320,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.61842,
"c": 0.18014,
"h": 342.8
},
"luminance": 0.21042
}Semantic roles & 50–950 ramp
primary
#CB50A2
secondary
#A2D5B3
accent
#DE7B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81