#B5337B#B5337B
#B5337B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.179 H 350.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B5337B |
|---|---|
| RGB | rgb(181, 51, 123) |
| HSL | hsl(327, 56%, 45%) |
| HSV | hsv(327, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 32%, 29%) |
| CIE-LAB | lab(43.69, 57.94, -10.99) |
| CIE-LCH | lch(43.69, 58.97, 349.26°) |
| OKLab | oklab(53.82% 0.177 -0.0285) |
| OKLCH | oklch(53.82% 0.179 350.8) |
| XYZ | xyz(23.8163, 13.6242, 20.1106) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.56
Mediumvioletred
#C71585
ΔE00 3.64
Deep Pink
#CB0162
ΔE00 7.76
Red Violet
#9E0168
ΔE00 8.01
Light Plum
#9D5783
ΔE00 8.16
Deep Magenta
#A0025C
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5337B #33B56D
analogous
#AE33B5 #B5337B #B5333A
triadic
#B5337B #7BB533 #337BB5
tetradic
#B5337B #B5AE33 #33B56D #333AB5
square
#B5337B #B5AE33 #33B56D #333AB5
split-complementary
#B5337B #3AB533 #33B5AE
monochromatic
#56183A #85265B #B5337B #CF5699 #DD86B6
Accessibility & contrast
On white
5.64
#B5337B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#B5337B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5337B
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5337B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5337B | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48587D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#C22B52
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #b5337b; /* rgb */ color: rgb(181, 51, 123); /* oklch */ color: oklch(53.8% 0.179 350.8);
Tailwind
colors: {
custom: {
50: '#cf76a1',
500: '#b5337b',
950: '#000000',
},
}SCSS
$custom: #b5337b; $custom-light: #cf76a1; $custom-dark: #000000;
JSON
{
"hex": "#b5337b",
"rgb": {
"r": 181,
"g": 51,
"b": 123
},
"hsl": {
"h": 326.769,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53823,
"c": 0.17931,
"h": 350.8
},
"luminance": 0.13621
}Semantic roles & 50–950 ramp
primary
#B5337B
secondary
#7DC69E
accent
#DF8C48
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E