#B8342A#B8342A
#B8342A is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.4% C 0.170 H 28.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B8342A |
|---|---|
| RGB | rgb(184, 52, 42) |
| HSL | hsl(4, 63%, 44%) |
| HSV | hsv(4, 77%, 72%) |
| CMYK | cmyk(0%, 71.7%, 77.2%, 27.8%) |
| CIE-LAB | lab(42.49, 52.16, 37.03) |
| CIE-LCH | lch(42.49, 63.96, 35.37°) |
| OKLab | oklab(52.42% 0.1495 0.0817) |
| OKLCH | oklch(52.42% 0.17 28.7) |
| XYZ | xyz(21.4156, 12.8168, 3.5363) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.26
Scarlet
#BE0119
ΔE00 4.25
Dull Red
#BB3F3F
ΔE00 4.82
Brick
#A03623
ΔE00 5.04
Brown
#A52A2A
ΔE00 5.19
Brownish Red
#9E3623
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8342A #2AAEB8
analogous
#B82A67 #B8342A #B87B2A
triadic
#B8342A #2AB834 #342AB8
tetradic
#B8342A #67B82A #2AAEB8 #7B2AB8
square
#B8342A #67B82A #2AAEB8 #7B2AB8
split-complementary
#B8342A #2AB87B #2A67B8
monochromatic
#541813 #86261F #B8342A #D6534A #E1837B
Accessibility & contrast
On white
5.89
#B8342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#B8342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8342A
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8342A | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#CB0033
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8342a; /* rgb */ color: rgb(184, 52, 42); /* oklch */ color: oklch(52.4% 0.170 28.7);
Tailwind
colors: {
custom: {
50: '#d67464',
500: '#b8342a',
950: '#000000',
},
}SCSS
$custom: #b8342a; $custom-light: #d67464; $custom-dark: #000000;
JSON
{
"hex": "#b8342a",
"rgb": {
"r": 184,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.225,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.52422,
"c": 0.17037,
"h": 28.7
},
"luminance": 0.12813
}Semantic roles & 50–950 ramp
primary
#B8342A
secondary
#75C3C9
accent
#DAE642
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A