#B4311B#B4311B
#B4311B is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.171 H 32.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B4311B |
|---|---|
| RGB | rgb(180, 49, 27) |
| HSL | hsl(9, 74%, 41%) |
| HSV | hsv(9, 85%, 71%) |
| CMYK | cmyk(0%, 72.8%, 85%, 29.4%) |
| CIE-LAB | lab(41.19, 51.49, 43.39) |
| CIE-LCH | lch(41.19, 67.34, 40.12°) |
| OKLab | oklab(51.27% 0.145 0.091) |
| OKLCH | oklch(51.27% 0.171 32.1) |
| XYZ | xyz(20.1210, 11.9822, 2.2900) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.72
Rust Red
#AA2704
ΔE00 3.97
Brick
#A03623
ΔE00 4.11
Brownish Red
#9E3623
ΔE00 4.49
Firebrick
#B22222
ΔE00 4.54
Scarlet
#BE0119
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4311B #1B9EB4
analogous
#B41B52 #B4311B #B47D1B
triadic
#B4311B #1BB431 #311BB4
tetradic
#B4311B #52B41B #1B9EB4 #7D1BB4
square
#B4311B #52B41B #1B9EB4 #7D1BB4
split-complementary
#B4311B #1BB47D #1B52B4
monochromatic
#4A140B #7F2313 #B4311B #DF462D #E77562
Accessibility & contrast
On white
6.18
#B4311B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B4311B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4311B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4311B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4311B | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#796C13
Tritanopia (blue-blind)
#C7002D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b4311b; /* rgb */ color: rgb(180, 49, 27); /* oklch */ color: oklch(51.3% 0.171 32.1);
Tailwind
colors: {
custom: {
50: '#d4725a',
500: '#b4311b',
950: '#000000',
},
}SCSS
$custom: #b4311b; $custom-light: #d4725a; $custom-dark: #000000;
JSON
{
"hex": "#b4311b",
"rgb": {
"r": 180,
"g": 49,
"b": 27
},
"hsl": {
"h": 8.627,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.51271,
"c": 0.17117,
"h": 32.1
},
"luminance": 0.11979
}Semantic roles & 50–950 ramp
primary
#B4311B
secondary
#5FBCCC
accent
#D6F137
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79