#B8402A#B8402A
#B8402A is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.8% C 0.159 H 32.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B8402A |
|---|---|
| RGB | rgb(184, 64, 42) |
| HSL | hsl(9, 63%, 44%) |
| HSV | hsv(9, 77%, 72%) |
| CMYK | cmyk(0%, 65.2%, 77.2%, 27.8%) |
| CIE-LAB | lab(44.27, 47.30, 38.92) |
| CIE-LCH | lch(44.27, 61.25, 39.45°) |
| OKLab | oklab(53.76% 0.1343 0.0858) |
| OKLCH | oklch(53.76% 0.159 32.6) |
| XYZ | xyz(22.0209, 14.0275, 3.7381) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 5.29
Brick
#A03623
ΔE00 5.62
Brownish Red
#9E3623
ΔE00 5.99
Firebrick
#B22222
ΔE00 6.08
Rust
#B7410E
ΔE00 6.21
Reddish
#C44240
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8402A #2AA2B8
analogous
#B82A5B #B8402A #B8872A
triadic
#B8402A #2AB840 #402AB8
tetradic
#B8402A #5BB82A #2AA2B8 #872AB8
square
#B8402A #5BB82A #2AA2B8 #872AB8
split-complementary
#B8402A #2AB887 #2A5BB8
monochromatic
#541D13 #862F1F #B8402A #D65F4A #E18B7B
Accessibility & contrast
On white
5.52
#B8402A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#B8402A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8402A
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8402A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8402A | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625827
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#CA1F3C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b8402a; /* rgb */ color: rgb(184, 64, 42); /* oklch */ color: oklch(53.8% 0.159 32.6);
Tailwind
colors: {
custom: {
50: '#d57b65',
500: '#b8402a',
950: '#000000',
},
}SCSS
$custom: #b8402a; $custom-light: #d57b65; $custom-dark: #000000;
JSON
{
"hex": "#b8402a",
"rgb": {
"r": 184,
"g": 64,
"b": 42
},
"hsl": {
"h": 9.296,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.53761,
"c": 0.15939,
"h": 32.6
},
"luminance": 0.14024
}Semantic roles & 50–950 ramp
primary
#B8402A
secondary
#75BCC9
accent
#CCE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A