#B54591#B54591
#B54591 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.168 H 342.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B54591 |
|---|---|
| RGB | rgb(181, 69, 145) |
| HSL | hsl(319, 45%, 49%) |
| HSV | hsv(319, 62%, 71%) |
| CMYK | cmyk(0%, 61.9%, 19.9%, 29%) |
| CIE-LAB | lab(47.14, 53.64, -19.09) |
| CIE-LCH | lch(47.14, 56.94, 340.41°) |
| OKLab | oklab(56.64% 0.1602 -0.051) |
| OKLCH | oklch(56.64% 0.168 342.3) |
| XYZ | xyz(26.2957, 16.1267, 28.5104) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.79
Ugly Purple
#A442A0
ΔE00 6.12
Purpleish
#98568D
ΔE00 6.39
Light Plum
#9D5783
ΔE00 6.47
Purplish
#94568C
ΔE00 7.16
Medium Purple
#9E43A2
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B54591 #45B569
analogous
#A145B5 #B54591 #B54559
triadic
#B54591 #91B545 #4591B5
tetradic
#B54591 #B5A145 #45B569 #4559B5
square
#B54591 #B5A145 #45B569 #4559B5
split-complementary
#B54591 #59B545 #45B5A1
monochromatic
#5C234A #89346E #B54591 #C86FAC #D99BC5
Accessibility & contrast
On white
4.97
#B54591 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#B54591 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B54591
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B54591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B54591 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#C04665
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #b54591; /* rgb */ color: rgb(181, 69, 145); /* oklch */ color: oklch(56.6% 0.168 342.3);
Tailwind
colors: {
custom: {
50: '#ce7fb1',
500: '#b54591',
950: '#000000',
},
}SCSS
$custom: #b54591; $custom-light: #ce7fb1; $custom-dark: #000000;
JSON
{
"hex": "#b54591",
"rgb": {
"r": 181,
"g": 69,
"b": 145
},
"hsl": {
"h": 319.286,
"s": 44.8,
"l": 49.02
},
"oklch": {
"l": 0.56635,
"c": 0.16811,
"h": 342.3
},
"luminance": 0.16124
}Semantic roles & 50–950 ramp
primary
#B54591
secondary
#91C5A1
accent
#D57D53
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#140B10
muted
#837C7F