#B31E20#B31E20
#B31E20 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.6% C 0.183 H 26.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E20 |
|---|---|
| RGB | rgb(179, 30, 32) |
| HSL | hsl(359, 71%, 41%) |
| HSV | hsv(359, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 82.1%, 29.8%) |
| CIE-LAB | lab(38.93, 57.20, 38.64) |
| CIE-LCH | lch(38.93, 69.03, 34.04°) |
| OKLab | oklab(49.57% 0.1639 0.0824) |
| OKLCH | oklch(49.57% 0.183 26.7) |
| XYZ | xyz(19.3178, 10.6197, 2.3989) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.43
Scarlet
#BE0119
ΔE00 2.17
Brown
#A52A2A
ΔE00 3.40
Darkish Red
#A90308
ΔE00 4.54
Brick
#A03623
ΔE00 4.95
Brownish Red
#9E3623
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E20 #1EB3B1
analogous
#B31E6A #B31E20 #B3661E
triadic
#B31E20 #20B31E #1E20B3
tetradic
#B31E20 #6AB31E #1EB3B1 #661EB3
square
#B31E20 #6AB31E #1EB3B1 #661EB3
split-complementary
#B31E20 #1EB366 #1E6AB3
monochromatic
#4A0C0D #7F1517 #B31E20 #DD3234 #E56668
Accessibility & contrast
On white
6.72
#B31E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#B31E20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E20
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E20 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50471E
Deuteranopia (green-blind)
#746718
Tritanopia (blue-blind)
#C60021
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31e20; /* rgb */ color: rgb(179, 30, 32); /* oklch */ color: oklch(49.6% 0.183 26.7);
Tailwind
colors: {
custom: {
50: '#d46b5d',
500: '#b31e20',
950: '#000000',
},
}SCSS
$custom: #b31e20; $custom-light: #d46b5d; $custom-dark: #000000;
JSON
{
"hex": "#b31e20",
"rgb": {
"r": 179,
"g": 30,
"b": 32
},
"hsl": {
"h": 359.195,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.49569,
"c": 0.18343,
"h": 26.7
},
"luminance": 0.10617
}Semantic roles & 50–950 ramp
primary
#B31E20
secondary
#62CBC9
accent
#EEEC3A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160704
muted
#847A79