#B3312F#B3312F
#B3312F is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.167 H 26.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B3312F |
|---|---|
| RGB | rgb(179, 49, 47) |
| HSL | hsl(1, 58%, 44%) |
| HSV | hsv(1, 74%, 70%) |
| CMYK | cmyk(0%, 72.6%, 73.7%, 29.8%) |
| CIE-LAB | lab(41.20, 51.86, 32.47) |
| CIE-LCH | lch(41.20, 61.19, 32.05°) |
| OKLab | oklab(51.31% 0.1502 0.0734) |
| OKLCH | oklch(51.31% 0.167 26) |
| XYZ | xyz(20.2041, 11.9886, 3.9390) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.72
Brown
#A52A2A
ΔE00 3.31
Dull Red
#BB3F3F
ΔE00 4.01
Scarlet
#BE0119
ΔE00 4.53
Lipstick Red
#C0022F
ΔE00 4.80
Cardinal
#C41E3A
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3312F #2FB1B3
analogous
#B32F6F #B3312F #B3732F
triadic
#B3312F #2FB331 #312FB3
tetradic
#B3312F #6FB32F #2FB1B3 #732FB3
square
#B3312F #6FB32F #2FB1B3 #732FB3
split-complementary
#B3312F #2FB373 #2F6FB3
monochromatic
#521616 #832422 #B3312F #D1514F #DD807F
Accessibility & contrast
On white
6.18
#B3312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#B3312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B3312F
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B3312F | 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)
#574F2D
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b3312f; /* rgb */ color: rgb(179, 49, 47); /* oklch */ color: oklch(51.3% 0.167 26.0);
Tailwind
colors: {
custom: {
50: '#d27368',
500: '#b3312f',
950: '#000000',
},
}SCSS
$custom: #b3312f; $custom-light: #d27368; $custom-dark: #000000;
JSON
{
"hex": "#b3312f",
"rgb": {
"r": 179,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.909,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.51307,
"c": 0.16718,
"h": 26
},
"luminance": 0.11986
}Semantic roles & 50–950 ramp
primary
#B3312F
secondary
#78C5C6
accent
#DFE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A