#B5342A#B5342A
#B5342A is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.9% C 0.167 H 28.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B5342A |
|---|---|
| RGB | rgb(181, 52, 42) |
| HSL | hsl(4, 62%, 44%) |
| HSV | hsv(4, 77%, 71%) |
| CMYK | cmyk(0%, 71.3%, 76.8%, 29%) |
| CIE-LAB | lab(41.92, 51.18, 36.26) |
| CIE-LCH | lch(41.92, 62.72, 35.32°) |
| OKLab | oklab(51.9% 0.1468 0.0803) |
| OKLCH | oklch(51.9% 0.167 28.7) |
| XYZ | xyz(20.7043, 12.4501, 3.5030) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.90
Scarlet
#BE0119
ΔE00 4.24
Brick
#A03623
ΔE00 4.54
Brown
#A52A2A
ΔE00 4.65
Brownish Red
#9E3623
ΔE00 4.89
Dull Red
#BB3F3F
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5342A #2AABB5
analogous
#B52A65 #B5342A #B5792A
triadic
#B5342A #2AB534 #342AB5
tetradic
#B5342A #65B52A #2AABB5 #792AB5
square
#B5342A #65B52A #2AABB5 #792AB5
split-complementary
#B5342A #2AB579 #2A65B5
monochromatic
#521713 #83261E #B5342A #D45248 #E08179
Accessibility & contrast
On white
6.02
#B5342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B5342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5342A
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5342A | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#C70033
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5342a; /* rgb */ color: rgb(181, 52, 42); /* oklch */ color: oklch(51.9% 0.167 28.7);
Tailwind
colors: {
custom: {
50: '#d47464',
500: '#b5342a',
950: '#000000',
},
}SCSS
$custom: #b5342a; $custom-light: #d47464; $custom-dark: #000000;
JSON
{
"hex": "#b5342a",
"rgb": {
"r": 181,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.317,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.51898,
"c": 0.16728,
"h": 28.7
},
"luminance": 0.12447
}Semantic roles & 50–950 ramp
primary
#B5342A
secondary
#73C2C8
accent
#DAE542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A