#B7402F#B7402F
#B7402F is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.7% C 0.157 H 30.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B7402F |
|---|---|
| RGB | rgb(183, 64, 47) |
| HSL | hsl(8, 59%, 45%) |
| HSV | hsv(8, 74%, 72%) |
| CMYK | cmyk(0%, 65%, 74.3%, 28.2%) |
| CIE-LAB | lab(44.15, 47.16, 35.98) |
| CIE-LCH | lch(44.15, 59.31, 37.35°) |
| OKLab | oklab(53.65% 0.135 0.0808) |
| OKLCH | oklch(53.65% 0.157 30.9) |
| XYZ | xyz(21.8773, 13.9424, 4.2280) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 5.06
Reddish
#C44240
ΔE00 5.16
Firebrick
#B22222
ΔE00 5.45
Brick
#A03623
ΔE00 5.51
Brownish Red
#9E3623
ΔE00 5.87
Rusty Red
#AF2F0D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7402F #2FA6B7
analogous
#B72F62 #B7402F #B7842F
triadic
#B7402F #2FB740 #402FB7
tetradic
#B7402F #62B72F #2FA6B7 #842FB7
square
#B7402F #62B72F #2FA6B7 #842FB7
split-complementary
#B7402F #2FB784 #2F62B7
monochromatic
#561E16 #862F22 #B7402F #D26151 #DF8D82
Accessibility & contrast
On white
5.54
#B7402F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#B7402F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7402F
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7402F | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61582C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#C9203D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #b7402f; /* rgb */ color: rgb(183, 64, 47); /* oklch */ color: oklch(53.7% 0.157 30.9);
Tailwind
colors: {
custom: {
50: '#d47b68',
500: '#b7402f',
950: '#000000',
},
}SCSS
$custom: #b7402f; $custom-light: #d47b68; $custom-dark: #000000;
JSON
{
"hex": "#b7402f",
"rgb": {
"r": 183,
"g": 64,
"b": 47
},
"hsl": {
"h": 7.5,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.53654,
"c": 0.15729,
"h": 30.9
},
"luminance": 0.13939
}Semantic roles & 50–950 ramp
primary
#B7402F
secondary
#7ABEC8
accent
#CFE245
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A