#B7342A#B7342A
#B7342A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.2% C 0.169 H 28.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B7342A |
|---|---|
| RGB | rgb(183, 52, 42) |
| HSL | hsl(4, 63%, 44%) |
| HSV | hsv(4, 77%, 72%) |
| CMYK | cmyk(0%, 71.6%, 77%, 28.2%) |
| CIE-LAB | lab(42.30, 51.83, 36.77) |
| CIE-LCH | lch(42.30, 63.55, 35.35°) |
| OKLab | oklab(52.25% 0.1486 0.0812) |
| OKLCH | oklch(52.25% 0.169 28.7) |
| XYZ | xyz(21.1768, 12.6937, 3.5251) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.13
Scarlet
#BE0119
ΔE00 4.24
Dull Red
#BB3F3F
ΔE00 4.85
Brick
#A03623
ΔE00 4.87
Brown
#A52A2A
ΔE00 5.01
Brownish Red
#9E3623
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7342A #2AADB7
analogous
#B72A67 #B7342A #B77B2A
triadic
#B7342A #2AB734 #342AB7
tetradic
#B7342A #67B72A #2AADB7 #7B2AB7
square
#B7342A #67B72A #2AADB7 #7B2AB7
split-complementary
#B7342A #2AB77B #2A67B7
monochromatic
#531813 #85261F #B7342A #D55349 #E1827B
Accessibility & contrast
On white
5.94
#B7342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B7342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7342A
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7342A | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CA0033
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b7342a; /* rgb */ color: rgb(183, 52, 42); /* oklch */ color: oklch(52.2% 0.169 28.7);
Tailwind
colors: {
custom: {
50: '#d57464',
500: '#b7342a',
950: '#000000',
},
}SCSS
$custom: #b7342a; $custom-light: #d57464; $custom-dark: #000000;
JSON
{
"hex": "#b7342a",
"rgb": {
"r": 183,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.255,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.52247,
"c": 0.16934,
"h": 28.7
},
"luminance": 0.1269
}Semantic roles & 50–950 ramp
primary
#B7342A
secondary
#74C3C9
accent
#DAE642
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A