#CB45A1#CB45A1
#CB45A1 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.6% C 0.195 H 342.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45A1 |
|---|---|
| RGB | rgb(203, 69, 161) |
| HSL | hsl(319, 56%, 53%) |
| HSV | hsv(319, 66%, 80%) |
| CMYK | cmyk(0%, 66%, 20.7%, 20.4%) |
| CIE-LAB | lab(51.30, 62.01, -21.92) |
| CIE-LCH | lch(51.30, 65.77, 340.53°) |
| OKLab | oklab(60.58% 0.1857 -0.0587) |
| OKLCH | oklch(60.58% 0.195 342.5) |
| XYZ | xyz(33.1907, 19.5291, 35.7328) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.15
Purpley Pink
#C83CB9
ΔE00 5.35
Pinky Purple
#C94CBE
ΔE00 5.65
Purpleish Pink
#DF4EC8
ΔE00 7.40
Mediumvioletred
#C71585
ΔE00 7.56
Bright Pink
#FE01B1
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45A1 #45CB6F
analogous
#B245CB #CB45A1 #CB455E
triadic
#CB45A1 #A1CB45 #45A1CB
tetradic
#CB45A1 #CBB245 #45CB6F #455ECB
square
#CB45A1 #CBB245 #45CB6F #455ECB
split-complementary
#CB45A1 #5ECB45 #45CBB2
monochromatic
#75215B #A52E80 #CB45A1 #D875B9 #E6A5D1
Accessibility & contrast
On white
4.28
#CB45A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#CB45A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45A1
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45A1 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#D7466D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cb45a1; /* rgb */ color: rgb(203, 69, 161); /* oklch */ color: oklch(60.6% 0.195 342.5);
Tailwind
colors: {
custom: {
50: '#de82bd',
500: '#cb45a1',
950: '#000000',
},
}SCSS
$custom: #cb45a1; $custom-light: #de82bd; $custom-dark: #000000;
JSON
{
"hex": "#cb45a1",
"rgb": {
"r": 203,
"g": 69,
"b": 161
},
"hsl": {
"h": 318.806,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.60582,
"c": 0.19477,
"h": 342.5
},
"luminance": 0.19526
}Semantic roles & 50–950 ramp
primary
#CB45A1
secondary
#99D3AB
accent
#E07848
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81