#B9342F#B9342F
#B9342F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.171 H 27.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B9342F |
|---|---|
| RGB | rgb(185, 52, 47) |
| HSL | hsl(2, 59%, 45%) |
| HSV | hsv(2, 75%, 73%) |
| CMYK | cmyk(0%, 71.9%, 74.6%, 27.5%) |
| CIE-LAB | lab(42.73, 52.68, 34.51) |
| CIE-LCH | lch(42.73, 62.98, 33.23°) |
| OKLab | oklab(52.66% 0.1521 0.0774) |
| OKLCH | oklch(52.66% 0.171 27) |
| XYZ | xyz(21.7511, 12.9788, 4.0486) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.44
Dull Red
#BB3F3F
ΔE00 3.59
Reddish
#C44240
ΔE00 4.51
Scarlet
#BE0119
ΔE00 4.58
Brown
#A52A2A
ΔE00 4.86
Lipstick Red
#C0022F
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9342F #2FB4B9
analogous
#B92F6F #B9342F #B9792F
triadic
#B9342F #2FB934 #342FB9
tetradic
#B9342F #6FB92F #2FB4B9 #792FB9
square
#B9342F #6FB92F #2FB4B9 #792FB9
split-complementary
#B9342F #2FB979 #2F6FB9
monochromatic
#571916 #882623 #B9342F #D35752 #DF8683
Accessibility & contrast
On white
5.84
#B9342F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#B9342F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B9342F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9342F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B9342F | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B522D
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #b9342f; /* rgb */ color: rgb(185, 52, 47); /* oklch */ color: oklch(52.7% 0.171 27.0);
Tailwind
colors: {
custom: {
50: '#d67568',
500: '#b9342f',
950: '#000000',
},
}SCSS
$custom: #b9342f; $custom-light: #d67568; $custom-dark: #000000;
JSON
{
"hex": "#b9342f",
"rgb": {
"r": 185,
"g": 52,
"b": 47
},
"hsl": {
"h": 2.174,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.52658,
"c": 0.17065,
"h": 27
},
"luminance": 0.12976
}Semantic roles & 50–950 ramp
primary
#B9342F
secondary
#7BC6C9
accent
#DDE345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A