#B31E30#B31E30
#B31E30 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.8% C 0.182 H 21.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E30 |
|---|---|
| RGB | rgb(179, 30, 48) |
| HSL | hsl(353, 71%, 41%) |
| HSV | hsv(353, 83%, 70%) |
| CMYK | cmyk(0%, 83.2%, 73.2%, 29.8%) |
| CIE-LAB | lab(39.12, 57.77, 29.47) |
| CIE-LCH | lch(39.12, 64.85, 27.03°) |
| OKLab | oklab(49.77% 0.1692 0.067) |
| OKLCH | oklch(49.77% 0.182 21.6) |
| XYZ | xyz(19.5905, 10.7288, 3.8351) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 2.30
Brown
#A52A2A
ΔE00 3.55
Cardinal
#C41E3A
ΔE00 3.77
Firebrick
#B22222
ΔE00 4.49
Rose Red
#BE013C
ΔE00 4.65
Cherry (survey)
#CF0234
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E30 #1EB3A1
analogous
#B31E7A #B31E30 #B3561E
triadic
#B31E30 #30B31E #1E30B3
tetradic
#B31E30 #7AB31E #1EB3A1 #561EB3
square
#B31E30 #7AB31E #1EB3A1 #561EB3
split-complementary
#B31E30 #1EB356 #1E7AB3
monochromatic
#4A0C14 #7F1522 #B31E30 #DD3246 #E56675
Accessibility & contrast
On white
6.68
#B31E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B31E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E30
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E30 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E482F
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#C50027
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31e30; /* rgb */ color: rgb(179, 30, 48); /* oklch */ color: oklch(49.8% 0.182 21.6);
Tailwind
colors: {
custom: {
50: '#d36b68',
500: '#b31e30',
950: '#000000',
},
}SCSS
$custom: #b31e30; $custom-light: #d36b68; $custom-dark: #000000;
JSON
{
"hex": "#b31e30",
"rgb": {
"r": 179,
"g": 30,
"b": 48
},
"hsl": {
"h": 352.752,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.49768,
"c": 0.18199,
"h": 21.6
},
"luminance": 0.10726
}Semantic roles & 50–950 ramp
primary
#B31E30
secondary
#62CBBE
accent
#EED83A
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160806
muted
#847A7A