#B3311F#B3311F
#B3311F is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.170 H 31.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B3311F |
|---|---|
| RGB | rgb(179, 49, 31) |
| HSL | hsl(7, 70%, 41%) |
| HSV | hsv(7, 83%, 70%) |
| CMYK | cmyk(0%, 72.6%, 82.7%, 29.8%) |
| CIE-LAB | lab(41.03, 51.28, 41.18) |
| CIE-LCH | lch(41.03, 65.77, 38.77°) |
| OKLab | oklab(51.13% 0.1451 0.0877) |
| OKLCH | oklch(51.13% 0.17 31.1) |
| XYZ | xyz(19.9384, 11.8824, 2.5397) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.58
Firebrick
#B22222
ΔE00 3.65
Brick
#A03623
ΔE00 3.70
Brownish Red
#9E3623
ΔE00 4.09
Scarlet
#BE0119
ΔE00 4.43
Rust Red
#AA2704
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3311F #1FA1B3
analogous
#B31F57 #B3311F #B37B1F
triadic
#B3311F #1FB331 #311FB3
tetradic
#B3311F #57B31F #1FA1B3 #7B1FB3
square
#B3311F #57B31F #1FA1B3 #7B1FB3
split-complementary
#B3311F #1FB37B #1F57B3
monochromatic
#4B140D #7F2316 #B3311F #DC4833 #E57768
Accessibility & contrast
On white
6.22
#B3311F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B3311F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3311F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3311F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3311F | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E1B
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#C5002E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b3311f; /* rgb */ color: rgb(179, 49, 31); /* oklch */ color: oklch(51.1% 0.170 31.1);
Tailwind
colors: {
custom: {
50: '#d3725d',
500: '#b3311f',
950: '#000000',
},
}SCSS
$custom: #b3311f; $custom-light: #d3725d; $custom-dark: #000000;
JSON
{
"hex": "#b3311f",
"rgb": {
"r": 179,
"g": 49,
"b": 31
},
"hsl": {
"h": 7.297,
"s": 70.476,
"l": 41.176
},
"oklch": {
"l": 0.51127,
"c": 0.16956,
"h": 31.1
},
"luminance": 0.11879
}Semantic roles & 50–950 ramp
primary
#B3311F
secondary
#64BECA
accent
#D8ED3B
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79