#B31E33#B31E33
#B31E33 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.182 H 20.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E33 |
|---|---|
| RGB | rgb(179, 30, 51) |
| HSL | hsl(352, 71%, 41%) |
| HSV | hsv(352, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 71.5%, 29.8%) |
| CIE-LAB | lab(39.16, 57.90, 27.68) |
| CIE-LCH | lch(39.16, 64.18, 25.55°) |
| OKLab | oklab(49.81% 0.1703 0.0637) |
| OKLCH | oklch(49.81% 0.182 20.5) |
| XYZ | xyz(19.6545, 10.7544, 4.1723) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 2.41
Cardinal
#C41E3A
ΔE00 3.48
Rose Red
#BE013C
ΔE00 3.82
Brown
#A52A2A
ΔE00 4.22
Rouge
#AB1239
ΔE00 4.27
Cherry (survey)
#CF0234
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E33 #1EB39E
analogous
#B31E7D #B31E33 #B3541E
triadic
#B31E33 #33B31E #1E33B3
tetradic
#B31E33 #7DB31E #1EB39E #541EB3
square
#B31E33 #7DB31E #1EB39E #541EB3
split-complementary
#B31E33 #1EB354 #1E7DB3
monochromatic
#4A0C15 #7F1524 #B31E33 #DD324A #E56678
Accessibility & contrast
On white
6.67
#B31E33 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B31E33 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E33
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E33 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4832
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#C50028
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31e33; /* rgb */ color: rgb(179, 30, 51); /* oklch */ color: oklch(49.8% 0.182 20.5);
Tailwind
colors: {
custom: {
50: '#d26b6a',
500: '#b31e33',
950: '#000000',
},
}SCSS
$custom: #b31e33; $custom-light: #d26b6a; $custom-dark: #000000;
JSON
{
"hex": "#b31e33",
"rgb": {
"r": 179,
"g": 30,
"b": 51
},
"hsl": {
"h": 351.544,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.49814,
"c": 0.18183,
"h": 20.5
},
"luminance": 0.10751
}Semantic roles & 50–950 ramp
primary
#B31E33
secondary
#62CBBC
accent
#EED53A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A