#B45EA2#B45EA2
#B45EA2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.6% C 0.140 H 335.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B45EA2 |
|---|---|
| RGB | rgb(180, 94, 162) |
| HSL | hsl(313, 36%, 54%) |
| HSV | hsv(313, 48%, 71%) |
| CMYK | cmyk(0%, 47.8%, 10%, 29.4%) |
| CIE-LAB | lab(52.20, 43.99, -21.42) |
| CIE-LCH | lch(52.20, 48.93, 334.04°) |
| OKLab | oklab(60.58% 0.1273 -0.0578) |
| OKLCH | oklch(60.58% 0.14 335.6) |
| XYZ | xyz(29.3467, 20.3192, 36.5517) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.00
Pinky Purple
#C94CBE
ΔE00 6.63
Dark Lilac
#9C6DA5
ΔE00 6.70
Soft Purple
#A66FB5
ΔE00 6.84
Purpleish
#98568D
ΔE00 6.89
Light Plum
#9D5783
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B45EA2 #5EB470
analogous
#9B5EB4 #B45EA2 #B45E77
triadic
#B45EA2 #A2B45E #5EA2B4
tetradic
#B45EA2 #B49B5E #5EB470 #5E77B4
square
#B45EA2 #B49B5E #5EB470 #5E77B4
split-complementary
#B45EA2 #77B45E #5EB49B
monochromatic
#67305C #914481 #B45EA2 #C788BA #DBB1D2
Accessibility & contrast
On white
4.15
#B45EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#B45EA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B45EA2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B45EA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B45EA2 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#BB6278
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b45ea2; /* rgb */ color: rgb(180, 94, 162); /* oklch */ color: oklch(60.6% 0.140 335.6);
Tailwind
colors: {
custom: {
50: '#cc8ebd',
500: '#b45ea2',
950: '#000000',
},
}SCSS
$custom: #b45ea2; $custom-light: #cc8ebd; $custom-dark: #000000;
JSON
{
"hex": "#b45ea2",
"rgb": {
"r": 180,
"g": 94,
"b": 162
},
"hsl": {
"h": 312.558,
"s": 36.441,
"l": 53.725
},
"oklch": {
"l": 0.60575,
"c": 0.13983,
"h": 335.6
},
"luminance": 0.20317
}Semantic roles & 50–950 ramp
primary
#B45EA2
secondary
#A5C9AC
accent
#CC735B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81