#B1312F#B1312F
#B1312F is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.165 H 26.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B1312F |
|---|---|
| RGB | rgb(177, 49, 47) |
| HSL | hsl(1, 58%, 44%) |
| HSV | hsv(1, 73%, 69%) |
| CMYK | cmyk(0%, 72.3%, 73.4%, 30.6%) |
| CIE-LAB | lab(40.82, 51.22, 31.94) |
| CIE-LCH | lch(40.82, 60.36, 31.95°) |
| OKLab | oklab(50.96% 0.1484 0.0723) |
| OKLCH | oklch(50.96% 0.165 26) |
| XYZ | xyz(19.7451, 11.7520, 3.9174) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.68
Brown
#A52A2A
ΔE00 2.92
Dull Red
#BB3F3F
ΔE00 4.22
Scarlet
#BE0119
ΔE00 4.66
Lipstick Red
#C0022F
ΔE00 4.83
Brick
#A03623
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1312F #2FAFB1
analogous
#B12F6E #B1312F #B1722F
triadic
#B1312F #2FB131 #312FB1
tetradic
#B1312F #6EB12F #2FAFB1 #722FB1
square
#B1312F #6EB12F #2FAFB1 #722FB1
split-complementary
#B1312F #2FB172 #2F6EB1
monochromatic
#501615 #812422 #B1312F #D04F4D #DD7F7E
Accessibility & contrast
On white
6.27
#B1312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B1312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1312F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1312F | 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)
#564F2D
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b1312f; /* rgb */ color: rgb(177, 49, 47); /* oklch */ color: oklch(51.0% 0.165 26.0);
Tailwind
colors: {
custom: {
50: '#d07268',
500: '#b1312f',
950: '#000000',
},
}SCSS
$custom: #b1312f; $custom-light: #d07268; $custom-dark: #000000;
JSON
{
"hex": "#b1312f",
"rgb": {
"r": 177,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.923,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.50956,
"c": 0.16512,
"h": 26
},
"luminance": 0.11749
}Semantic roles & 50–950 ramp
primary
#B1312F
secondary
#76C4C5
accent
#DFE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A