#B5332A#B5332A
#B5332A is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.168 H 28.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B5332A |
|---|---|
| RGB | rgb(181, 51, 42) |
| HSL | hsl(4, 62%, 44%) |
| HSV | hsv(4, 77%, 71%) |
| CMYK | cmyk(0%, 71.8%, 76.8%, 29%) |
| CIE-LAB | lab(41.79, 51.56, 36.11) |
| CIE-LCH | lch(41.79, 62.95, 35.01°) |
| OKLab | oklab(51.8% 0.148 0.0799) |
| OKLCH | oklch(51.8% 0.168 28.4) |
| XYZ | xyz(20.6602, 12.3617, 3.4882) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.71
Scarlet
#BE0119
ΔE00 4.10
Brown
#A52A2A
ΔE00 4.47
Brick
#A03623
ΔE00 4.59
Dull Red
#BB3F3F
ΔE00 4.88
Brownish Red
#9E3623
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5332A #2AACB5
analogous
#B52A66 #B5332A #B5782A
triadic
#B5332A #2AB533 #332AB5
tetradic
#B5332A #66B52A #2AACB5 #782AB5
square
#B5332A #66B52A #2AACB5 #782AB5
split-complementary
#B5332A #2AB578 #2A66B5
monochromatic
#521713 #83251E #B5332A #D45148 #E08079
Accessibility & contrast
On white
6.05
#B5332A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B5332A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5332A
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5332A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5332A | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#C70032
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5332a; /* rgb */ color: rgb(181, 51, 42); /* oklch */ color: oklch(51.8% 0.168 28.4);
Tailwind
colors: {
custom: {
50: '#d47464',
500: '#b5332a',
950: '#000000',
},
}SCSS
$custom: #b5332a; $custom-light: #d47464; $custom-dark: #000000;
JSON
{
"hex": "#b5332a",
"rgb": {
"r": 181,
"g": 51,
"b": 42
},
"hsl": {
"h": 3.885,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51796,
"c": 0.16817,
"h": 28.4
},
"luminance": 0.12359
}Semantic roles & 50–950 ramp
primary
#B5332A
secondary
#73C2C8
accent
#DBE542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A