#B9342B#B9342B
#B9342B is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.171 H 28.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B9342B |
|---|---|
| RGB | rgb(185, 52, 43) |
| HSL | hsl(4, 62%, 45%) |
| HSV | hsv(4, 77%, 73%) |
| CMYK | cmyk(0%, 71.9%, 76.8%, 27.5%) |
| CIE-LAB | lab(42.68, 52.52, 36.73) |
| CIE-LCH | lch(42.68, 64.09, 34.97°) |
| OKLab | oklab(52.61% 0.1507 0.0813) |
| OKLCH | oklch(52.61% 0.171 28.3) |
| XYZ | xyz(21.6741, 12.9480, 3.6430) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.35
Scarlet
#BE0119
ΔE00 4.30
Dull Red
#BB3F3F
ΔE00 4.56
Reddish
#C44240
ΔE00 5.16
Brown
#A52A2A
ΔE00 5.24
Brick
#A03623
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9342B #2BB0B9
analogous
#B92B69 #B9342B #B97B2B
triadic
#B9342B #2BB934 #342BB9
tetradic
#B9342B #69B92B #2BB0B9 #7B2BB9
square
#B9342B #69B92B #2BB0B9 #7B2BB9
split-complementary
#B9342B #2BB97B #2B69B9
monochromatic
#561814 #87261F #B9342B #D5554C #E1847E
Accessibility & contrast
On white
5.85
#B9342B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#B9342B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9342B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9342B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9342B | 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)
#5B5229
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#CC0033
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b9342b; /* rgb */ color: rgb(185, 52, 43); /* oklch */ color: oklch(52.6% 0.171 28.3);
Tailwind
colors: {
custom: {
50: '#d77565',
500: '#b9342b',
950: '#000000',
},
}SCSS
$custom: #b9342b; $custom-light: #d77565; $custom-dark: #000000;
JSON
{
"hex": "#b9342b",
"rgb": {
"r": 185,
"g": 52,
"b": 43
},
"hsl": {
"h": 3.803,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.52608,
"c": 0.17123,
"h": 28.3
},
"luminance": 0.12945
}Semantic roles & 50–950 ramp
primary
#B9342B
secondary
#76C4C9
accent
#DBE542
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A