#B4342F#B4342F
#B4342F is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.165 H 26.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #B4342F |
|---|---|
| RGB | rgb(180, 52, 47) |
| HSL | hsl(2, 59%, 45%) |
| HSV | hsv(2, 74%, 71%) |
| CMYK | cmyk(0%, 71.1%, 73.9%, 29.4%) |
| CIE-LAB | lab(41.79, 51.06, 33.20) |
| CIE-LCH | lch(41.79, 60.90, 33.03°) |
| OKLab | oklab(51.79% 0.1476 0.0749) |
| OKLCH | oklch(51.79% 0.165 26.9) |
| XYZ | xyz(20.5658, 12.3676, 3.9931) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.96
Dull Red
#BB3F3F
ΔE00 3.86
Brown
#A52A2A
ΔE00 3.90
Scarlet
#BE0119
ΔE00 4.62
Reddish
#C44240
ΔE00 5.17
Brick
#A03623
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4342F #2FAFB4
analogous
#B42F6C #B4342F #B4772F
triadic
#B4342F #2FB434 #342FB4
tetradic
#B4342F #6CB42F #2FAFB4 #772FB4
square
#B4342F #6CB42F #2FAFB4 #772FB4
split-complementary
#B4342F #2FB477 #2F6CB4
monochromatic
#531816 #832622 #B4342F #D1544F #DE8380
Accessibility & contrast
On white
6.05
#B4342F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#B4342F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4342F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4342F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4342F | 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)
#59512D
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#C60134
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b4342f; /* rgb */ color: rgb(180, 52, 47); /* oklch */ color: oklch(51.8% 0.165 26.9);
Tailwind
colors: {
custom: {
50: '#d37468',
500: '#b4342f',
950: '#000000',
},
}SCSS
$custom: #b4342f; $custom-light: #d37468; $custom-dark: #000000;
JSON
{
"hex": "#b4342f",
"rgb": {
"r": 180,
"g": 52,
"b": 47
},
"hsl": {
"h": 2.256,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.51787,
"c": 0.16548,
"h": 26.9
},
"luminance": 0.12365
}Semantic roles & 50–950 ramp
primary
#B4342F
secondary
#78C4C7
accent
#DCE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A