#B5336B#B5336B
#B5336B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.172 H 358.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B5336B |
|---|---|
| RGB | rgb(181, 51, 107) |
| HSL | hsl(334, 56%, 45%) |
| HSV | hsv(334, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 40.9%, 29%) |
| CIE-LAB | lab(43.15, 56.16, -1.91) |
| CIE-LCH | lch(43.15, 56.20, 358.05°) |
| OKLab | oklab(53.25% 0.1723 -0.0043) |
| OKLCH | oklch(53.25% 0.172 358.6) |
| XYZ | xyz(22.8953, 13.2558, 15.2600) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.86
Magenta (survey)
#C20078
ΔE00 5.12
Light Burgundy
#A8415B
ΔE00 5.89
Mediumvioletred
#C71585
ΔE00 6.53
Dark Hot Pink
#D90166
ΔE00 6.81
Dark Pink
#CB416B
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5336B #33B57D
analogous
#B533AC #B5336B #B53C33
triadic
#B5336B #6BB533 #336BB5
tetradic
#B5336B #ACB533 #33B57D #3C33B5
square
#B5336B #ACB533 #33B57D #3C33B5
split-complementary
#B5336B #33B53C #33ACB5
monochromatic
#561833 #85264F #B5336B #CF568A #DD86AB
Accessibility & contrast
On white
5.75
#B5336B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#B5336B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5336B
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5336B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5336B | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#716F68
Tritanopia (blue-blind)
#C4224B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b5336b; /* rgb */ color: rgb(181, 51, 107); /* oklch */ color: oklch(53.2% 0.172 358.6);
Tailwind
colors: {
custom: {
50: '#d07595',
500: '#b5336b',
950: '#000000',
},
}SCSS
$custom: #b5336b; $custom-light: #d07595; $custom-dark: #000000;
JSON
{
"hex": "#b5336b",
"rgb": {
"r": 181,
"g": 51,
"b": 107
},
"hsl": {
"h": 334.154,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53247,
"c": 0.17232,
"h": 358.6
},
"luminance": 0.13253
}Semantic roles & 50–950 ramp
primary
#B5336B
secondary
#7DC6A7
accent
#DF9E48
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E