#B5336D#B5336D
#B5336D is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.173 H 357.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B5336D |
|---|---|
| RGB | rgb(181, 51, 109) |
| HSL | hsl(333, 56%, 45%) |
| HSV | hsv(333, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 39.8%, 29%) |
| CIE-LAB | lab(43.21, 56.37, -3.06) |
| CIE-LCH | lch(43.21, 56.46, 356.89°) |
| OKLab | oklab(53.31% 0.1729 -0.0073) |
| OKLCH | oklch(53.31% 0.173 357.6) |
| XYZ | xyz(23.0018, 13.2984, 15.8206) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.74
Deep Pink
#CB0162
ΔE00 5.16
Mediumvioletred
#C71585
ΔE00 6.08
Light Burgundy
#A8415B
ΔE00 6.34
Dark Hot Pink
#D90166
ΔE00 7.06
Violet Red
#A50055
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5336D #33B57B
analogous
#B533AE #B5336D #B53A33
triadic
#B5336D #6DB533 #336DB5
tetradic
#B5336D #AEB533 #33B57B #3A33B5
square
#B5336D #AEB533 #33B57B #3A33B5
split-complementary
#B5336D #33B53A #33AEB5
monochromatic
#561833 #852650 #B5336D #CF568C #DD86AD
Accessibility & contrast
On white
5.74
#B5336D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#B5336D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5336D
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5336D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5336D | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D566F
Deuteranopia (green-blind)
#706F6A
Tritanopia (blue-blind)
#C4234C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #b5336d; /* rgb */ color: rgb(181, 51, 109); /* oklch */ color: oklch(53.3% 0.173 357.6);
Tailwind
colors: {
custom: {
50: '#d07596',
500: '#b5336d',
950: '#000000',
},
}SCSS
$custom: #b5336d; $custom-light: #d07596; $custom-dark: #000000;
JSON
{
"hex": "#b5336d",
"rgb": {
"r": 181,
"g": 51,
"b": 109
},
"hsl": {
"h": 333.231,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53314,
"c": 0.17307,
"h": 357.6
},
"luminance": 0.13296
}Semantic roles & 50–950 ramp
primary
#B5336D
secondary
#7DC6A6
accent
#DF9C48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E