#B5337F#B5337F
#B5337F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.181 H 349.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B5337F |
|---|---|
| RGB | rgb(181, 51, 127) |
| HSL | hsl(325, 56%, 45%) |
| HSV | hsv(325, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 29.8%, 29%) |
| CIE-LAB | lab(43.84, 58.42, -13.22) |
| CIE-LCH | lch(43.84, 59.90, 347.25°) |
| OKLab | oklab(53.98% 0.178 -0.0346) |
| OKLCH | oklch(53.98% 0.181 349) |
| XYZ | xyz(24.0718, 13.7264, 21.4563) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.32
Magenta (survey)
#C20078
ΔE00 3.78
Light Plum
#9D5783
ΔE00 8.05
Red Violet
#9E0168
ΔE00 8.09
Deep Pink
#CB0162
ΔE00 8.55
Ugly Purple
#A442A0
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5337F #33B569
analogous
#AA33B5 #B5337F #B5333E
triadic
#B5337F #7FB533 #337FB5
tetradic
#B5337F #B5AA33 #33B569 #333EB5
square
#B5337F #B5AA33 #33B569 #333EB5
split-complementary
#B5337F #3EB533 #33B5AA
monochromatic
#56183C #85265D #B5337F #CF569D #DD86B9
Accessibility & contrast
On white
5.61
#B5337F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#B5337F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5337F
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5337F | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#C22D54
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b5337f; /* rgb */ color: rgb(181, 51, 127); /* oklch */ color: oklch(54.0% 0.181 349.0);
Tailwind
colors: {
custom: {
50: '#cf76a4',
500: '#b5337f',
950: '#000000',
},
}SCSS
$custom: #b5337f; $custom-light: #cf76a4; $custom-dark: #000000;
JSON
{
"hex": "#b5337f",
"rgb": {
"r": 181,
"g": 51,
"b": 127
},
"hsl": {
"h": 324.923,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53981,
"c": 0.18138,
"h": 349
},
"luminance": 0.13724
}Semantic roles & 50–950 ramp
primary
#B5337F
secondary
#7DC69C
accent
#DF8748
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F