#B5408B#B5408B
#B5408B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 344.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B5408B |
|---|---|
| RGB | rgb(181, 64, 139) |
| HSL | hsl(322, 48%, 48%) |
| HSV | hsv(322, 65%, 71%) |
| CMYK | cmyk(0%, 64.6%, 23.2%, 29%) |
| CIE-LAB | lab(46.12, 54.94, -17.04) |
| CIE-LCH | lch(46.12, 57.52, 342.77°) |
| OKLab | oklab(55.81% 0.1653 -0.0453) |
| OKLCH | oklch(55.81% 0.171 344.7) |
| XYZ | xyz(25.5505, 15.3571, 26.0397) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.72
Magenta (survey)
#C20078
ΔE00 6.40
Light Plum
#9D5783
ΔE00 6.64
Ugly Purple
#A442A0
ΔE00 6.80
Purpleish
#98568D
ΔE00 7.00
Purplish
#94568C
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5408B #40B56A
analogous
#A440B5 #B5408B #B54051
triadic
#B5408B #8BB540 #408BB5
tetradic
#B5408B #B5A440 #40B56A #4051B5
square
#B5408B #B5A440 #40B56A #4051B5
split-complementary
#B5408B #51B540 #40B5A4
monochromatic
#5B2046 #883068 #B5408B #CA68A7 #DA96C1
Accessibility & contrast
On white
5.16
#B5408B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#B5408B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5408B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5408B | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#6E7488
Tritanopia (blue-blind)
#C03F60
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #b5408b; /* rgb */ color: rgb(181, 64, 139); /* oklch */ color: oklch(55.8% 0.171 344.7);
Tailwind
colors: {
custom: {
50: '#cf7cad',
500: '#b5408b',
950: '#000000',
},
}SCSS
$custom: #b5408b; $custom-light: #cf7cad; $custom-dark: #000000;
JSON
{
"hex": "#b5408b",
"rgb": {
"r": 181,
"g": 64,
"b": 139
},
"hsl": {
"h": 321.538,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.55806,
"c": 0.17141,
"h": 344.7
},
"luminance": 0.15355
}Semantic roles & 50–950 ramp
primary
#B5408B
secondary
#8BC5A0
accent
#D78150
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F