#CB45A8#CB45A8
#CB45A8 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.199 H 339.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45A8 |
|---|---|
| RGB | rgb(203, 69, 168) |
| HSL | hsl(316, 56%, 53%) |
| HSV | hsv(316, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 17.2%, 20.4%) |
| CIE-LAB | lab(51.59, 62.99, -25.59) |
| CIE-LCH | lch(51.59, 67.99, 337.89°) |
| OKLab | oklab(60.89% 0.187 -0.069) |
| OKLCH | oklch(60.89% 0.199 339.8) |
| XYZ | xyz(33.8254, 19.7830, 39.0752) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.04
Pinky Purple
#C94CBE
ΔE00 4.28
Purplish Pink
#CE5DAE
ΔE00 4.97
Purpleish Pink
#DF4EC8
ΔE00 6.41
Hot Magenta
#F504C9
ΔE00 7.38
Bright Pink
#FE01B1
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45A8 #45CB68
analogous
#AB45CB #CB45A8 #CB4565
triadic
#CB45A8 #A8CB45 #45A8CB
tetradic
#CB45A8 #CBAB45 #45CB68 #4565CB
square
#CB45A8 #CBAB45 #45CB68 #4565CB
split-complementary
#CB45A8 #65CB45 #45CBAB
monochromatic
#75215F #A52E86 #CB45A8 #D875BE #E6A5D5
Accessibility & contrast
On white
4.24
#CB45A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CB45A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45A8
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45A8 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6DAB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#D64970
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb45a8; /* rgb */ color: rgb(203, 69, 168); /* oklch */ color: oklch(60.9% 0.199 339.8);
Tailwind
colors: {
custom: {
50: '#de82c2',
500: '#cb45a8',
950: '#000000',
},
}SCSS
$custom: #cb45a8; $custom-light: #de82c2; $custom-dark: #000000;
JSON
{
"hex": "#cb45a8",
"rgb": {
"r": 203,
"g": 69,
"b": 168
},
"hsl": {
"h": 315.672,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.60889,
"c": 0.19934,
"h": 339.8
},
"luminance": 0.1978
}Semantic roles & 50–950 ramp
primary
#CB45A8
secondary
#99D3A8
accent
#E07048
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81