#B9342A#B9342A
#B9342A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.171 H 28.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B9342A |
|---|---|
| RGB | rgb(185, 52, 42) |
| HSL | hsl(4, 63%, 45%) |
| HSV | hsv(4, 77%, 73%) |
| CMYK | cmyk(0%, 71.9%, 77.3%, 27.5%) |
| CIE-LAB | lab(42.67, 52.48, 37.28) |
| CIE-LCH | lch(42.67, 64.38, 35.39°) |
| OKLab | oklab(52.6% 0.1504 0.0822) |
| OKLCH | oklch(52.6% 0.171 28.7) |
| XYZ | xyz(21.6560, 12.9408, 3.5476) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.39
Scarlet
#BE0119
ΔE00 4.28
Dull Red
#BB3F3F
ΔE00 4.80
Brick
#A03623
ΔE00 5.22
Reddish
#C44240
ΔE00 5.35
Brown
#A52A2A
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9342A #2AAFB9
analogous
#B92A67 #B9342A #B97C2A
triadic
#B9342A #2AB934 #342AB9
tetradic
#B9342A #67B92A #2AAFB9 #7C2AB9
square
#B9342A #67B92A #2AAFB9 #7C2AB9
split-complementary
#B9342A #2AB97C #2A67B9
monochromatic
#551813 #87261F #B9342A #D6544A #E1837C
Accessibility & contrast
On white
5.85
#B9342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B9342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9342A
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9342A | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b9342a; /* rgb */ color: rgb(185, 52, 42); /* oklch */ color: oklch(52.6% 0.171 28.7);
Tailwind
colors: {
custom: {
50: '#d77564',
500: '#b9342a',
950: '#000000',
},
}SCSS
$custom: #b9342a; $custom-light: #d77564; $custom-dark: #000000;
JSON
{
"hex": "#b9342a",
"rgb": {
"r": 185,
"g": 52,
"b": 42
},
"hsl": {
"h": 4.196,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.52597,
"c": 0.17139,
"h": 28.7
},
"luminance": 0.12937
}Semantic roles & 50–950 ramp
primary
#B9342A
secondary
#75C4CA
accent
#DBE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A