#B3312E#B3312E
#B3312E is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.167 H 26.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B3312E |
|---|---|
| RGB | rgb(179, 49, 46) |
| HSL | hsl(1, 59%, 44%) |
| HSV | hsv(1, 74%, 70%) |
| CMYK | cmyk(0%, 72.6%, 74.3%, 29.8%) |
| CIE-LAB | lab(41.19, 51.82, 33.04) |
| CIE-LCH | lch(41.19, 61.46, 32.53°) |
| OKLab | oklab(51.29% 0.1499 0.0744) |
| OKLCH | oklch(51.29% 0.167 26.4) |
| XYZ | xyz(20.1842, 11.9807, 3.8339) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.55
Brown
#A52A2A
ΔE00 3.35
Dull Red
#BB3F3F
ΔE00 4.17
Scarlet
#BE0119
ΔE00 4.36
Lipstick Red
#C0022F
ΔE00 5.01
Brick
#A03623
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3312E #2EB0B3
analogous
#B32E6E #B3312E #B3742E
triadic
#B3312E #2EB331 #312EB3
tetradic
#B3312E #6EB32E #2EB0B3 #742EB3
square
#B3312E #6EB32E #2EB0B3 #742EB3
split-complementary
#B3312E #2EB374 #2E6EB3
monochromatic
#521615 #822421 #B3312E #D1504D #DE807E
Accessibility & contrast
On white
6.18
#B3312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B3312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3312E
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3312E | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2C
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b3312e; /* rgb */ color: rgb(179, 49, 46); /* oklch */ color: oklch(51.3% 0.167 26.4);
Tailwind
colors: {
custom: {
50: '#d27267',
500: '#b3312e',
950: '#000000',
},
}SCSS
$custom: #b3312e; $custom-light: #d27267; $custom-dark: #000000;
JSON
{
"hex": "#b3312e",
"rgb": {
"r": 179,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.353,
"s": 59.111,
"l": 44.118
},
"oklch": {
"l": 0.51294,
"c": 0.16731,
"h": 26.4
},
"luminance": 0.11978
}Semantic roles & 50–950 ramp
primary
#B3312E
secondary
#76C5C6
accent
#DFE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A