#CB45B3#CB45B3
#CB45B3 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.207 H 335.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45B3 |
|---|---|
| RGB | rgb(203, 69, 179) |
| HSL | hsl(311, 56%, 53%) |
| HSV | hsv(311, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 11.8%, 20.4%) |
| CIE-LAB | lab(52.07, 64.60, -31.28) |
| CIE-LCH | lch(52.07, 71.77, 334.16°) |
| OKLab | oklab(61.4% 0.1887 -0.0851) |
| OKLCH | oklch(61.4% 0.207 335.7) |
| XYZ | xyz(34.8938, 20.2104, 44.7023) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 2.29
Purpley Pink
#C83CB9
ΔE00 2.35
Purpleish Pink
#DF4EC8
ΔE00 5.24
Purplish Pink
#CE5DAE
ΔE00 5.40
Pinkish Purple
#D648D7
ΔE00 5.99
Hot Magenta
#F504C9
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45B3 #45CB5D
analogous
#A045CB #CB45B3 #CB4570
triadic
#CB45B3 #B3CB45 #45B3CB
tetradic
#CB45B3 #CBA045 #45CB5D #4570CB
square
#CB45B3 #CBA045 #45CB5D #4570CB
split-complementary
#CB45B3 #70CB45 #45CBA0
monochromatic
#752166 #A52E8F #CB45B3 #D875C7 #E6A5DA
Accessibility & contrast
On white
4.17
#CB45B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#CB45B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45B3
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45B3 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466FB6
Deuteranopia (green-blind)
#7283B0
Tritanopia (blue-blind)
#D54D76
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cb45b3; /* rgb */ color: rgb(203, 69, 179); /* oklch */ color: oklch(61.4% 0.207 335.7);
Tailwind
colors: {
custom: {
50: '#de82ca',
500: '#cb45b3',
950: '#000000',
},
}SCSS
$custom: #cb45b3; $custom-light: #de82ca; $custom-dark: #000000;
JSON
{
"hex": "#cb45b3",
"rgb": {
"r": 203,
"g": 69,
"b": 179
},
"hsl": {
"h": 310.746,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.61399,
"c": 0.20698,
"h": 335.7
},
"luminance": 0.20207
}Semantic roles & 50–950 ramp
primary
#CB45B3
secondary
#99D3A3
accent
#E06348
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82