#B31E17#B31E17
#B31E17 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 28.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E17 |
|---|---|
| RGB | rgb(179, 30, 23) |
| HSL | hsl(3, 77%, 40%) |
| HSV | hsv(3, 87%, 70%) |
| CMYK | cmyk(0%, 83.2%, 87.2%, 29.8%) |
| CIE-LAB | lab(38.86, 56.97, 43.26) |
| CIE-LCH | lch(38.86, 71.53, 37.21°) |
| OKLab | oklab(49.49% 0.1615 0.089) |
| OKLCH | oklch(49.49% 0.184 28.8) |
| XYZ | xyz(19.2118, 10.5773, 1.8405) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.44
Scarlet
#BE0119
ΔE00 2.65
Darkish Red
#A90308
ΔE00 3.36
Brick
#A03623
ΔE00 4.42
Rusty Red
#AF2F0D
ΔE00 4.60
Brownish Red
#9E3623
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E17 #17ACB3
analogous
#B3175E #B31E17 #B36C17
triadic
#B31E17 #17B31E #1E17B3
tetradic
#B31E17 #5EB317 #17ACB3 #6C17B3
square
#B31E17 #5EB317 #17ACB3 #6C17B3
split-complementary
#B31E17 #17B36C #175EB3
monochromatic
#470C09 #7D1510 #B31E17 #E32D24 #EA615B
Accessibility & contrast
On white
6.74
#B31E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#B31E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E17
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E17 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#74670C
Tritanopia (blue-blind)
#C6001F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31e17; /* rgb */ color: rgb(179, 30, 23); /* oklch */ color: oklch(49.5% 0.184 28.8);
Tailwind
colors: {
custom: {
50: '#d46a57',
500: '#b31e17',
950: '#000000',
},
}SCSS
$custom: #b31e17; $custom-light: #d46a57; $custom-dark: #000000;
JSON
{
"hex": "#b31e17",
"rgb": {
"r": 179,
"g": 30,
"b": 23
},
"hsl": {
"h": 2.692,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.49492,
"c": 0.18438,
"h": 28.8
},
"luminance": 0.10574
}Semantic roles & 50–950 ramp
primary
#B31E17
secondary
#58C8CD
accent
#EBF434
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78