#CB56B3#CB56B3
#CB56B3 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.3% C 0.183 H 336.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CB56B3 |
|---|---|
| RGB | rgb(203, 86, 179) |
| HSL | hsl(312, 53%, 57%) |
| HSV | hsv(312, 58%, 80%) |
| CMYK | cmyk(0%, 57.6%, 11.8%, 20.4%) |
| CIE-LAB | lab(54.67, 57.47, -27.25) |
| CIE-LCH | lch(54.67, 63.60, 334.64°) |
| OKLab | oklab(63.3% 0.1677 -0.0738) |
| OKLCH | oklch(63.3% 0.183 336.2) |
| XYZ | xyz(36.0934, 22.6095, 45.1022) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.42
Pinky Purple
#C94CBE
ΔE00 3.34
Purpleish Pink
#DF4EC8
ΔE00 4.25
Purpley Pink
#C83CB9
ΔE00 5.35
Pale Magenta
#D767AD
ΔE00 5.87
Pinkish Purple
#D648D7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB56B3 #56CB6E
analogous
#A956CB #CB56B3 #CB5679
triadic
#CB56B3 #B3CB56 #56B3CB
tetradic
#CB56B3 #CBA956 #56CB6E #5679CB
square
#CB56B3 #CBA956 #56CB6E #5679CB
split-complementary
#CB56B3 #79CB56 #56CBA9
monochromatic
#7F276D #AE3695 #CB56B3 #D985C8 #E8B4DD
Accessibility & contrast
On white
3.80
#CB56B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#CB56B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB56B3
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB56B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB56B3 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5878B6
Deuteranopia (green-blind)
#7B89B0
Tritanopia (blue-blind)
#D55C7D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #cb56b3; /* rgb */ color: rgb(203, 86, 179); /* oklch */ color: oklch(63.3% 0.183 336.2);
Tailwind
colors: {
custom: {
50: '#de8cca',
500: '#cb56b3',
950: '#000000',
},
}SCSS
$custom: #cb56b3; $custom-light: #de8cca; $custom-dark: #000000;
JSON
{
"hex": "#cb56b3",
"rgb": {
"r": 203,
"g": 86,
"b": 179
},
"hsl": {
"h": 312.308,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.63297,
"c": 0.18319,
"h": 336.2
},
"luminance": 0.22607
}Semantic roles & 50–950 ramp
primary
#CB56B3
secondary
#A6D6B0
accent
#DC694B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82