#CB45AA#CB45AA
#CB45AA is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.0% C 0.201 H 339.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45AA |
|---|---|
| RGB | rgb(203, 69, 170) |
| HSL | hsl(315, 56%, 53%) |
| HSV | hsv(315, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 16.3%, 20.4%) |
| CIE-LAB | lab(51.68, 63.27, -26.63) |
| CIE-LCH | lch(51.68, 68.65, 337.17°) |
| OKLab | oklab(60.98% 0.1874 -0.0719) |
| OKLCH | oklch(60.98% 0.201 339) |
| XYZ | xyz(34.0131, 19.8581, 40.0641) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.69
Pinky Purple
#C94CBE
ΔE00 3.90
Purplish Pink
#CE5DAE
ΔE00 4.99
Purpleish Pink
#DF4EC8
ΔE00 6.15
Hot Magenta
#F504C9
ΔE00 7.19
Pinkish Purple
#D648D7
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45AA #45CB66
analogous
#A945CB #CB45AA #CB4567
triadic
#CB45AA #AACB45 #45AACB
tetradic
#CB45AA #CBA945 #45CB66 #4567CB
square
#CB45AA #CBA945 #45CB66 #4567CB
split-complementary
#CB45AA #67CB45 #45CBA9
monochromatic
#752160 #A52E88 #CB45AA #D875C0 #E6A5D6
Accessibility & contrast
On white
4.22
#CB45AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CB45AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45AA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45AA | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6EAD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#D64A71
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb45aa; /* rgb */ color: rgb(203, 69, 170); /* oklch */ color: oklch(61.0% 0.201 339.0);
Tailwind
colors: {
custom: {
50: '#de82c3',
500: '#cb45aa',
950: '#000000',
},
}SCSS
$custom: #cb45aa; $custom-light: #de82c3; $custom-dark: #000000;
JSON
{
"hex": "#cb45aa",
"rgb": {
"r": 203,
"g": 69,
"b": 170
},
"hsl": {
"h": 314.776,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.60979,
"c": 0.20069,
"h": 339
},
"luminance": 0.19855
}Semantic roles & 50–950 ramp
primary
#CB45AA
secondary
#99D3A7
accent
#E06D48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81