#B45CA5#B45CA5
#B45CA5 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.4% C 0.146 H 334.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B45CA5 |
|---|---|
| RGB | rgb(180, 92, 165) |
| HSL | hsl(310, 37%, 53%) |
| HSV | hsv(310, 49%, 71%) |
| CMYK | cmyk(0%, 48.9%, 8.3%, 29.4%) |
| CIE-LAB | lab(51.92, 45.53, -23.60) |
| CIE-LCH | lch(51.92, 51.28, 332.61°) |
| OKLab | oklab(60.41% 0.131 -0.0639) |
| OKLCH | oklch(60.41% 0.146 334) |
| XYZ | xyz(29.4410, 20.0761, 37.9144) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.12
Pinky Purple
#C94CBE
ΔE00 5.86
Soft Purple
#A66FB5
ΔE00 6.68
Dark Lilac
#9C6DA5
ΔE00 6.83
Purpley Pink
#C83CB9
ΔE00 6.85
Purpleish
#98568D
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45CA5 #5CB46B
analogous
#975CB4 #B45CA5 #B45C79
triadic
#B45CA5 #A5B45C #5CA5B4
tetradic
#B45CA5 #B4975C #5CB46B #5C79B4
square
#B45CA5 #B4975C #5CB46B #5C79B4
split-complementary
#B45CA5 #79B45C #5CB497
monochromatic
#662F5D #904283 #B45CA5 #C786BC #DBB0D3
Accessibility & contrast
On white
4.19
#B45CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#B45CA5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45CA5
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45CA5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45CA5 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B74A7
Deuteranopia (green-blind)
#7480A2
Tritanopia (blue-blind)
#BB6179
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b45ca5; /* rgb */ color: rgb(180, 92, 165); /* oklch */ color: oklch(60.4% 0.146 334.0);
Tailwind
colors: {
custom: {
50: '#cc8dc0',
500: '#b45ca5',
950: '#000000',
},
}SCSS
$custom: #b45ca5; $custom-light: #cc8dc0; $custom-dark: #000000;
JSON
{
"hex": "#b45ca5",
"rgb": {
"r": 180,
"g": 92,
"b": 165
},
"hsl": {
"h": 310.227,
"s": 36.975,
"l": 53.333
},
"oklch": {
"l": 0.60411,
"c": 0.14576,
"h": 334
},
"luminance": 0.20074
}Semantic roles & 50–950 ramp
primary
#B45CA5
secondary
#A3C9A9
accent
#CD6E5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81