#B45CA2#B45CA2
#B45CA2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.3% C 0.143 H 335.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B45CA2 |
|---|---|
| RGB | rgb(180, 92, 162) |
| HSL | hsl(312, 37%, 53%) |
| HSV | hsv(312, 49%, 71%) |
| CMYK | cmyk(0%, 48.9%, 10%, 29.4%) |
| CIE-LAB | lab(51.80, 45.02, -22.03) |
| CIE-LCH | lch(51.80, 50.12, 333.93°) |
| OKLab | oklab(60.28% 0.1303 -0.0595) |
| OKLCH | oklch(60.28% 0.143 335.5) |
| XYZ | xyz(29.1712, 19.9681, 36.4932) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.13
Pinky Purple
#C94CBE
ΔE00 6.36
Purpleish
#98568D
ΔE00 6.70
Dark Lilac
#9C6DA5
ΔE00 6.96
Soft Purple
#A66FB5
ΔE00 7.08
Purpley Pink
#C83CB9
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45CA2 #5CB46E
analogous
#9A5CB4 #B45CA2 #B45C76
triadic
#B45CA2 #A2B45C #5CA2B4
tetradic
#B45CA2 #B49A5C #5CB46E #5C76B4
square
#B45CA2 #B49A5C #5CB46E #5C76B4
split-complementary
#B45CA2 #76B45C #5CB49A
monochromatic
#662F5B #904280 #B45CA2 #C786BA #DBB0D2
Accessibility & contrast
On white
4.21
#B45CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#B45CA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45CA2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45CA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45CA2 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#7580A0
Tritanopia (blue-blind)
#BC6077
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b45ca2; /* rgb */ color: rgb(180, 92, 162); /* oklch */ color: oklch(60.3% 0.143 335.5);
Tailwind
colors: {
custom: {
50: '#cc8dbd',
500: '#b45ca2',
950: '#000000',
},
}SCSS
$custom: #b45ca2; $custom-light: #cc8dbd; $custom-dark: #000000;
JSON
{
"hex": "#b45ca2",
"rgb": {
"r": 180,
"g": 92,
"b": 162
},
"hsl": {
"h": 312.273,
"s": 36.975,
"l": 53.333
},
"oklch": {
"l": 0.60281,
"c": 0.14325,
"h": 335.5
},
"luminance": 0.19966
}Semantic roles & 50–950 ramp
primary
#B45CA2
secondary
#A3C9AB
accent
#CD725B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81