#CB51A3#CB51A3
#CB51A3 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.179 H 342.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CB51A3 |
|---|---|
| RGB | rgb(203, 81, 163) |
| HSL | hsl(320, 54%, 56%) |
| HSV | hsv(320, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 19.7%, 20.4%) |
| CIE-LAB | lab(53.20, 57.30, -20.18) |
| CIE-LCH | lch(53.20, 60.75, 340.60°) |
| OKLab | oklab(62% 0.171 -0.0539) |
| OKLCH | oklch(62% 0.179 342.5) |
| XYZ | xyz(34.1828, 21.2288, 36.9405) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.08
Pinky Purple
#C94CBE
ΔE00 5.78
Pale Magenta
#D767AD
ΔE00 5.80
Purpley Pink
#C83CB9
ΔE00 6.54
Purpleish Pink
#DF4EC8
ΔE00 6.72
Bright Pink
#FE01B1
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB51A3 #51CB79
analogous
#B651CB #CB51A3 #CB5166
triadic
#CB51A3 #A3CB51 #51A3CB
tetradic
#CB51A3 #CBB651 #51CB79 #5166CB
square
#CB51A3 #CBB651 #51CB79 #5166CB
split-complementary
#CB51A3 #66CB51 #51CBB6
monochromatic
#7C2560 #AC3384 #CB51A3 #D980BC #E7AFD5
Accessibility & contrast
On white
4.00
#CB51A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#CB51A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB51A3
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB51A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB51A3 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#D75273
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb51a3; /* rgb */ color: rgb(203, 81, 163); /* oklch */ color: oklch(62.0% 0.179 342.5);
Tailwind
colors: {
custom: {
50: '#de88be',
500: '#cb51a3',
950: '#000000',
},
}SCSS
$custom: #cb51a3; $custom-light: #de88be; $custom-dark: #000000;
JSON
{
"hex": "#cb51a3",
"rgb": {
"r": 203,
"g": 81,
"b": 163
},
"hsl": {
"h": 319.672,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.62002,
"c": 0.17933,
"h": 342.5
},
"luminance": 0.21226
}Semantic roles & 50–950 ramp
primary
#CB51A3
secondary
#A3D5B3
accent
#DD7B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81