#B1312E#B1312E
#B1312E is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.165 H 26.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B1312E |
|---|---|
| RGB | rgb(177, 49, 46) |
| HSL | hsl(1, 59%, 44%) |
| HSV | hsv(1, 74%, 69%) |
| CMYK | cmyk(0%, 72.3%, 74%, 30.6%) |
| CIE-LAB | lab(40.81, 51.17, 32.51) |
| CIE-LCH | lch(40.81, 60.63, 32.43°) |
| OKLab | oklab(50.94% 0.1481 0.0734) |
| OKLCH | oklch(50.94% 0.165 26.4) |
| XYZ | xyz(19.7252, 11.7440, 3.8124) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.49
Brown
#A52A2A
ΔE00 2.97
Dull Red
#BB3F3F
ΔE00 4.37
Scarlet
#BE0119
ΔE00 4.49
Brick
#A03623
ΔE00 4.98
Lipstick Red
#C0022F
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1312E #2EAEB1
analogous
#B12E6C #B1312E #B1722E
triadic
#B1312E #2EB131 #312EB1
tetradic
#B1312E #6CB12E #2EAEB1 #722EB1
square
#B1312E #6CB12E #2EAEB1 #722EB1
split-complementary
#B1312E #2EB172 #2E6CB1
monochromatic
#501615 #802421 #B1312E #D04F4C #DD7F7C
Accessibility & contrast
On white
6.27
#B1312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B1312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1312E
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1312E | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F2C
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b1312e; /* rgb */ color: rgb(177, 49, 46); /* oklch */ color: oklch(50.9% 0.165 26.4);
Tailwind
colors: {
custom: {
50: '#d17267',
500: '#b1312e',
950: '#000000',
},
}SCSS
$custom: #b1312e; $custom-light: #d17267; $custom-dark: #000000;
JSON
{
"hex": "#b1312e",
"rgb": {
"r": 177,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.374,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.50942,
"c": 0.16525,
"h": 26.4
},
"luminance": 0.11741
}Semantic roles & 50–950 ramp
primary
#B1312E
secondary
#75C4C6
accent
#DEE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A