#B8402F#B8402F
#B8402F is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.8% C 0.158 H 30.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B8402F |
|---|---|
| RGB | rgb(184, 64, 47) |
| HSL | hsl(7, 59%, 45%) |
| HSV | hsv(7, 74%, 72%) |
| CMYK | cmyk(0%, 65.2%, 74.5%, 27.8%) |
| CIE-LAB | lab(44.33, 47.50, 36.23) |
| CIE-LCH | lch(44.33, 59.74, 37.33°) |
| OKLab | oklab(53.82% 0.1359 0.0812) |
| OKLCH | oklch(53.82% 0.158 30.9) |
| XYZ | xyz(22.1161, 14.0656, 4.2391) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 5.05
Reddish
#C44240
ΔE00 5.07
Firebrick
#B22222
ΔE00 5.55
Brick
#A03623
ΔE00 5.70
Brownish Red
#9E3623
ΔE00 6.06
Rusty Red
#AF2F0D
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8402F #2FA7B8
analogous
#B82F63 #B8402F #B8842F
triadic
#B8402F #2FB840 #402FB8
tetradic
#B8402F #63B82F #2FA7B8 #842FB8
square
#B8402F #63B82F #2FA7B8 #842FB8
split-complementary
#B8402F #2FB884 #2F63B8
monochromatic
#571E16 #872F23 #B8402F #D36252 #DF8E82
Accessibility & contrast
On white
5.51
#B8402F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#B8402F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8402F
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8402F | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62582C
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#CA203D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #b8402f; /* rgb */ color: rgb(184, 64, 47); /* oklch */ color: oklch(53.8% 0.158 30.9);
Tailwind
colors: {
custom: {
50: '#d57b68',
500: '#b8402f',
950: '#000000',
},
}SCSS
$custom: #b8402f; $custom-light: #d57b68; $custom-dark: #000000;
JSON
{
"hex": "#b8402f",
"rgb": {
"r": 184,
"g": 64,
"b": 47
},
"hsl": {
"h": 7.445,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.5382,
"c": 0.15837,
"h": 30.9
},
"luminance": 0.14062
}Semantic roles & 50–950 ramp
primary
#B8402F
secondary
#7BBFC8
accent
#CFE245
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A