#B8342F#B8342F
#B8342F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.5% C 0.170 H 27.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B8342F |
|---|---|
| RGB | rgb(184, 52, 47) |
| HSL | hsl(2, 59%, 45%) |
| HSV | hsv(2, 74%, 72%) |
| CMYK | cmyk(0%, 71.7%, 74.5%, 27.8%) |
| CIE-LAB | lab(42.54, 52.36, 34.24) |
| CIE-LCH | lch(42.54, 62.56, 33.19°) |
| OKLab | oklab(52.48% 0.1512 0.0769) |
| OKLCH | oklch(52.48% 0.17 27) |
| XYZ | xyz(21.5107, 12.8548, 4.0374) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.33
Dull Red
#BB3F3F
ΔE00 3.63
Scarlet
#BE0119
ΔE00 4.56
Reddish
#C44240
ΔE00 4.63
Brown
#A52A2A
ΔE00 4.67
Lipstick Red
#C0022F
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8342F #2FB3B8
analogous
#B82F6E #B8342F #B8792F
triadic
#B8342F #2FB834 #342FB8
tetradic
#B8342F #6EB82F #2FB3B8 #792FB8
square
#B8342F #6EB82F #2FB3B8 #792FB8
split-complementary
#B8342F #2FB879 #2F6EB8
monochromatic
#571816 #872623 #B8342F #D35652 #DF8682
Accessibility & contrast
On white
5.88
#B8342F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#B8342F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8342F
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8342F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8342F | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522D
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#CB0034
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b8342f; /* rgb */ color: rgb(184, 52, 47); /* oklch */ color: oklch(52.5% 0.170 27.0);
Tailwind
colors: {
custom: {
50: '#d67568',
500: '#b8342f',
950: '#000000',
},
}SCSS
$custom: #b8342f; $custom-light: #d67568; $custom-dark: #000000;
JSON
{
"hex": "#b8342f",
"rgb": {
"r": 184,
"g": 52,
"b": 47
},
"hsl": {
"h": 2.19,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.52484,
"c": 0.16962,
"h": 27
},
"luminance": 0.12852
}Semantic roles & 50–950 ramp
primary
#B8342F
secondary
#7BC5C8
accent
#DDE245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A