#B5334E#B5334E
#B5334E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.166 H 13.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B5334E |
|---|---|
| RGB | rgb(181, 51, 78) |
| HSL | hsl(348, 56%, 45%) |
| HSV | hsv(348, 72%, 71%) |
| CMYK | cmyk(0%, 71.8%, 56.9%, 29%) |
| CIE-LAB | lab(42.38, 53.58, 15.08) |
| CIE-LCH | lch(42.38, 55.66, 15.72°) |
| OKLab | oklab(52.43% 0.1616 0.0376) |
| OKLCH | oklch(52.43% 0.166 13.1) |
| XYZ | xyz(21.6171, 12.7445, 8.5279) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 4.29
Dark Rose
#B5485D
ΔE00 4.39
Light Burgundy
#A8415B
ΔE00 4.62
Rose Red
#BE013C
ΔE00 4.82
Light Maroon
#A24857
ΔE00 5.11
Rouge
#AB1239
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5334E #33B59A
analogous
#B5338F #B5334E #B55933
triadic
#B5334E #4EB533 #334EB5
tetradic
#B5334E #8FB533 #33B59A #5933B5
square
#B5334E #8FB533 #33B59A #5933B5
split-complementary
#B5334E #33B559 #338FB5
monochromatic
#561825 #852639 #B5334E #CF566F #DD8698
Accessibility & contrast
On white
5.92
#B5334E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#B5334E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5334E
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5334E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5334E | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54534E
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#C6123E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b5334e; /* rgb */ color: rgb(181, 51, 78); /* oklch */ color: oklch(52.4% 0.166 13.1);
Tailwind
colors: {
custom: {
50: '#d2747f',
500: '#b5334e',
950: '#000000',
},
}SCSS
$custom: #b5334e; $custom-light: #d2747f; $custom-dark: #000000;
JSON
{
"hex": "#b5334e",
"rgb": {
"r": 181,
"g": 51,
"b": 78
},
"hsl": {
"h": 347.538,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.52426,
"c": 0.16592,
"h": 13.1
},
"luminance": 0.12741
}Semantic roles & 50–950 ramp
primary
#B5334E
secondary
#7DC6B7
accent
#DFC048
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C