#B5335A#B5335A
#B5335A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.168 H 7.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B5335A |
|---|---|
| RGB | rgb(181, 51, 90) |
| HSL | hsl(342, 56%, 45%) |
| HSV | hsv(342, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 50.3%, 29%) |
| CIE-LAB | lab(42.66, 54.55, 7.98) |
| CIE-LCH | lch(42.66, 55.13, 8.32°) |
| OKLab | oklab(52.73% 0.1663 0.0207) |
| OKLCH | oklch(52.73% 0.168 7.1) |
| XYZ | xyz(22.0872, 12.9325, 11.0040) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.07
Dark Rose
#B5485D
ΔE00 4.55
Deep Pink
#CB0162
ΔE00 4.79
Purplish Red
#B0054B
ΔE00 5.05
Raspberry (survey)
#B00149
ΔE00 5.32
Light Maroon
#A24857
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5335A #33B58E
analogous
#B5339B #B5335A #B54D33
triadic
#B5335A #5AB533 #335AB5
tetradic
#B5335A #9BB533 #33B58E #4D33B5
square
#B5335A #9BB533 #33B58E #4D33B5
split-complementary
#B5335A #33B54D #339BB5
monochromatic
#56182B #852642 #B5335A #CF567A #DD86A0
Accessibility & contrast
On white
5.86
#B5335A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B5335A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5335A
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5335A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5335A | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#746E57
Tritanopia (blue-blind)
#C51943
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b5335a; /* rgb */ color: rgb(181, 51, 90); /* oklch */ color: oklch(52.7% 0.168 7.1);
Tailwind
colors: {
custom: {
50: '#d17588',
500: '#b5335a',
950: '#000000',
},
}SCSS
$custom: #b5335a; $custom-light: #d17588; $custom-dark: #000000;
JSON
{
"hex": "#b5335a",
"rgb": {
"r": 181,
"g": 51,
"b": 90
},
"hsl": {
"h": 342,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.5273,
"c": 0.16754,
"h": 7.1
},
"luminance": 0.1293
}Semantic roles & 50–950 ramp
primary
#B5335A
secondary
#7DC6B1
accent
#DFB248
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C