#B5336A#B5336A
#B5336A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.172 H 359.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #B5336A |
|---|---|
| RGB | rgb(181, 51, 106) |
| HSL | hsl(335, 56%, 45%) |
| HSV | hsv(335, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 41.4%, 29%) |
| CIE-LAB | lab(43.12, 56.06, -1.34) |
| CIE-LCH | lch(43.12, 56.08, 358.64°) |
| OKLab | oklab(53.21% 0.1719 -0.0028) |
| OKLCH | oklch(53.21% 0.172 359.1) |
| XYZ | xyz(22.8430, 13.2349, 14.9845) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.73
Magenta (survey)
#C20078
ΔE00 5.31
Light Burgundy
#A8415B
ΔE00 5.66
Dark Hot Pink
#D90166
ΔE00 6.70
Mediumvioletred
#C71585
ΔE00 6.77
Dark Pink
#CB416B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5336A #33B57E
analogous
#B533AB #B5336A #B53D33
triadic
#B5336A #6AB533 #336AB5
tetradic
#B5336A #ABB533 #33B57E #3D33B5
square
#B5336A #ABB533 #33B57E #3D33B5
split-complementary
#B5336A #33B53D #33ABB5
monochromatic
#561832 #85264E #B5336A #CF5689 #DD86AA
Accessibility & contrast
On white
5.76
#B5336A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B5336A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5336A
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5336A | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#716F67
Tritanopia (blue-blind)
#C4224A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b5336a; /* rgb */ color: rgb(181, 51, 106); /* oklch */ color: oklch(53.2% 0.172 359.1);
Tailwind
colors: {
custom: {
50: '#d07594',
500: '#b5336a',
950: '#000000',
},
}SCSS
$custom: #b5336a; $custom-light: #d07594; $custom-dark: #000000;
JSON
{
"hex": "#b5336a",
"rgb": {
"r": 181,
"g": 51,
"b": 106
},
"hsl": {
"h": 334.615,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53214,
"c": 0.17196,
"h": 359.1
},
"luminance": 0.13232
}Semantic roles & 50–950 ramp
primary
#B5336A
secondary
#7DC6A8
accent
#DFA048
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E