#CB45B2#CB45B2
#CB45B2 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.206 H 336.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45B2 |
|---|---|
| RGB | rgb(203, 69, 178) |
| HSL | hsl(311, 56%, 53%) |
| HSV | hsv(311, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 12.3%, 20.4%) |
| CIE-LAB | lab(52.03, 64.45, -30.76) |
| CIE-LCH | lch(52.03, 71.41, 334.48°) |
| OKLab | oklab(61.35% 0.1885 -0.0837) |
| OKLCH | oklch(61.35% 0.206 336.1) |
| XYZ | xyz(34.7930, 20.1701, 44.1716) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.46
Purpley Pink
#C83CB9
ΔE00 2.47
Purpleish Pink
#DF4EC8
ΔE00 5.32
Purplish Pink
#CE5DAE
ΔE00 5.34
Pinkish Purple
#D648D7
ΔE00 6.16
Hot Magenta
#F504C9
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45B2 #45CB5E
analogous
#A145CB #CB45B2 #CB456F
triadic
#CB45B2 #B2CB45 #45B2CB
tetradic
#CB45B2 #CBA145 #45CB5E #456FCB
square
#CB45B2 #CBA145 #45CB5E #456FCB
split-complementary
#CB45B2 #6FCB45 #45CBA1
monochromatic
#752165 #A52E8F #CB45B2 #D875C6 #E6A5DA
Accessibility & contrast
On white
4.17
#CB45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#CB45B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45B2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45B2 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#D54D75
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cb45b2; /* rgb */ color: rgb(203, 69, 178); /* oklch */ color: oklch(61.4% 0.206 336.1);
Tailwind
colors: {
custom: {
50: '#de82c9',
500: '#cb45b2',
950: '#000000',
},
}SCSS
$custom: #cb45b2; $custom-light: #de82c9; $custom-dark: #000000;
JSON
{
"hex": "#cb45b2",
"rgb": {
"r": 203,
"g": 69,
"b": 178
},
"hsl": {
"h": 311.194,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.61351,
"c": 0.20627,
"h": 336.1
},
"luminance": 0.20167
}Semantic roles & 50–950 ramp
primary
#CB45B2
secondary
#99D3A4
accent
#E06448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82