#CB5296#CB5296
#CB5296 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.170 H 348.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5296 |
|---|---|
| RGB | rgb(203, 82, 150) |
| HSL | hsl(326, 54%, 56%) |
| HSV | hsv(326, 60%, 80%) |
| CMYK | cmyk(0%, 59.6%, 26.1%, 20.4%) |
| CIE-LAB | lab(52.88, 55.07, -13.02) |
| CIE-LCH | lch(52.88, 56.58, 346.70°) |
| OKLab | oklab(61.61% 0.1665 -0.0341) |
| OKLCH | oklch(61.61% 0.17 348.4) |
| XYZ | xyz(33.1522, 20.9363, 31.1434) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.04
Pale Magenta
#D767AD
ΔE00 6.18
Darkish Pink
#DA467D
ΔE00 7.03
Shocking Pink
#FE02A2
ΔE00 8.14
Neon Pink
#FE019A
ΔE00 8.21
Deeppink
#FF1493
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5296 #52CB87
analogous
#C352CB #CB5296 #CB5259
triadic
#CB5296 #96CB52 #5296CB
tetradic
#CB5296 #CBC352 #52CB87 #5259CB
square
#CB5296 #CBC352 #52CB87 #5259CB
split-complementary
#CB5296 #59CB52 #52CBC3
monochromatic
#7D2657 #AC3477 #CB5296 #D981B3 #E7B0CF
Accessibility & contrast
On white
4.05
#CB5296 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#CB5296 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5296
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5296 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5296 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#607198
Deuteranopia (green-blind)
#828693
Tritanopia (blue-blind)
#D84E6D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb5296; /* rgb */ color: rgb(203, 82, 150); /* oklch */ color: oklch(61.6% 0.170 348.4);
Tailwind
colors: {
custom: {
50: '#de89b5',
500: '#cb5296',
950: '#000000',
},
}SCSS
$custom: #cb5296; $custom-light: #de89b5; $custom-dark: #000000;
JSON
{
"hex": "#cb5296",
"rgb": {
"r": 203,
"g": 82,
"b": 150
},
"hsl": {
"h": 326.281,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.61608,
"c": 0.16992,
"h": 348.4
},
"luminance": 0.20933
}Semantic roles & 50–950 ramp
primary
#CB5296
secondary
#A3D5B9
accent
#DD8B4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80