#B31E2B#B31E2B
#B31E2B is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.182 H 23.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E2B |
|---|---|
| RGB | rgb(179, 30, 43) |
| HSL | hsl(355, 71%, 41%) |
| HSV | hsv(355, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 76%, 29.8%) |
| CIE-LAB | lab(39.05, 57.56, 32.42) |
| CIE-LCH | lch(39.05, 66.07, 29.39°) |
| OKLab | oklab(49.7% 0.1674 0.0723) |
| OKLCH | oklch(49.7% 0.182 23.4) |
| XYZ | xyz(19.4931, 10.6898, 3.3220) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.78
Lipstick Red
#C0022F
ΔE00 2.88
Firebrick
#B22222
ΔE00 2.99
Scarlet
#BE0119
ΔE00 4.35
Cardinal
#C41E3A
ΔE00 4.62
Cherry (survey)
#CF0234
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E2B #1EB3A6
analogous
#B31E75 #B31E2B #B35B1E
triadic
#B31E2B #2BB31E #1E2BB3
tetradic
#B31E2B #75B31E #1EB3A6 #5B1EB3
square
#B31E2B #75B31E #1EB3A6 #5B1EB3
split-complementary
#B31E2B #1EB35B #1E75B3
monochromatic
#4A0C12 #7F151E #B31E2B #DD3241 #E56671
Accessibility & contrast
On white
6.69
#B31E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#B31E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E2B
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E2B | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#C50025
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31e2b; /* rgb */ color: rgb(179, 30, 43); /* oklch */ color: oklch(49.7% 0.182 23.4);
Tailwind
colors: {
custom: {
50: '#d36b64',
500: '#b31e2b',
950: '#000000',
},
}SCSS
$custom: #b31e2b; $custom-light: #d36b64; $custom-dark: #000000;
JSON
{
"hex": "#b31e2b",
"rgb": {
"r": 179,
"g": 30,
"b": 43
},
"hsl": {
"h": 354.765,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.49697,
"c": 0.18236,
"h": 23.4
},
"luminance": 0.10687
}Semantic roles & 50–950 ramp
primary
#B31E2B
secondary
#62CBC1
accent
#EEDE3A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A