#B31B3E#B31B3E
#B31B3E is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.8% C 0.184 H 15.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B31B3E |
|---|---|
| RGB | rgb(179, 27, 62) |
| HSL | hsl(346, 74%, 40%) |
| HSV | hsv(346, 85%, 70%) |
| CMYK | cmyk(0%, 84.9%, 65.4%, 29.8%) |
| CIE-LAB | lab(39.10, 59.16, 20.72) |
| CIE-LCH | lch(39.10, 62.68, 19.30°) |
| OKLab | oklab(49.83% 0.1768 0.0496) |
| OKLCH | oklch(49.83% 0.184 15.7) |
| XYZ | xyz(19.8541, 10.7185, 5.5800) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 1.99
Rouge
#AB1239
ΔE00 2.04
Ruby
#CA0147
ΔE00 4.31
Cardinal
#C41E3A
ΔE00 4.71
Lipstick Red
#C0022F
ΔE00 5.05
Raspberry (survey)
#B00149
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31B3E #1BB390
analogous
#B31B8A #B31B3E #B3441B
triadic
#B31B3E #3EB31B #1B3EB3
tetradic
#B31B3E #8AB31B #1BB390 #441BB3
square
#B31B3E #8AB31B #1BB390 #441BB3
split-complementary
#B31B3E #1BB344 #1B8AB3
monochromatic
#490B19 #7E132C #B31B3E #DF2C55 #E76180
Accessibility & contrast
On white
6.68
#B31B3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#B31B3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31B3E
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31B3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31B3E | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B483E
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#C5002B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31b3e; /* rgb */ color: rgb(179, 27, 62); /* oklch */ color: oklch(49.8% 0.184 15.7);
Tailwind
colors: {
custom: {
50: '#d26a73',
500: '#b31b3e',
950: '#000000',
},
}SCSS
$custom: #b31b3e; $custom-light: #d26a73; $custom-dark: #000000;
JSON
{
"hex": "#b31b3e",
"rgb": {
"r": 179,
"g": 27,
"b": 62
},
"hsl": {
"h": 346.184,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.49829,
"c": 0.18366,
"h": 15.7
},
"luminance": 0.10715
}Semantic roles & 50–950 ramp
primary
#B31B3E
secondary
#5ECCB2
accent
#F0C637
background
#FEF6F6
surface
#FCECEC
border
#D5C7C7
text
#160808
muted
#847A7B