#B5342F#B5342F
#B5342F is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.0% C 0.167 H 26.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B5342F |
|---|---|
| RGB | rgb(181, 52, 47) |
| HSL | hsl(2, 59%, 45%) |
| HSV | hsv(2, 74%, 71%) |
| CMYK | cmyk(0%, 71.3%, 74%, 29%) |
| CIE-LAB | lab(41.98, 51.39, 33.46) |
| CIE-LCH | lch(41.98, 61.32, 33.07°) |
| OKLab | oklab(51.96% 0.1485 0.0754) |
| OKLCH | oklch(51.96% 0.167 26.9) |
| XYZ | xyz(20.7995, 12.4881, 4.0040) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.03
Dull Red
#BB3F3F
ΔE00 3.79
Brown
#A52A2A
ΔE00 4.09
Scarlet
#BE0119
ΔE00 4.59
Reddish
#C44240
ΔE00 5.03
Brick
#A03623
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5342F #2FB0B5
analogous
#B52F6D #B5342F #B5772F
triadic
#B5342F #2FB534 #342FB5
tetradic
#B5342F #6DB52F #2FB0B5 #772FB5
square
#B5342F #6DB52F #2FB0B5 #772FB5
split-complementary
#B5342F #2FB577 #2F6DB5
monochromatic
#541816 #842622 #B5342F #D15550 #DE8480
Accessibility & contrast
On white
6.01
#B5342F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B5342F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B5342F
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5342F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B5342F | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512D
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#C70034
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b5342f; /* rgb */ color: rgb(181, 52, 47); /* oklch */ color: oklch(52.0% 0.167 26.9);
Tailwind
colors: {
custom: {
50: '#d37468',
500: '#b5342f',
950: '#000000',
},
}SCSS
$custom: #b5342f; $custom-light: #d37468; $custom-dark: #000000;
JSON
{
"hex": "#b5342f",
"rgb": {
"r": 181,
"g": 52,
"b": 47
},
"hsl": {
"h": 2.239,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.51961,
"c": 0.16652,
"h": 26.9
},
"luminance": 0.12485
}Semantic roles & 50–950 ramp
primary
#B5342F
secondary
#79C4C7
accent
#DCE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A