#B12E1D#B12E1D
#B12E1D is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.170 H 30.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E1D |
|---|---|
| RGB | rgb(177, 46, 29) |
| HSL | hsl(7, 72%, 40%) |
| HSV | hsv(7, 84%, 69%) |
| CMYK | cmyk(0%, 74%, 83.6%, 30.6%) |
| CIE-LAB | lab(40.23, 51.66, 41.32) |
| CIE-LCH | lch(40.23, 66.15, 38.66°) |
| OKLab | oklab(50.46% 0.1462 0.0874) |
| OKLCH | oklch(50.46% 0.17 30.9) |
| XYZ | xyz(19.3326, 11.3929, 2.3433) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.31
Brick
#A03623
ΔE00 3.37
Rusty Red
#AF2F0D
ΔE00 3.50
Brownish Red
#9E3623
ΔE00 3.75
Scarlet
#BE0119
ΔE00 4.17
Rust Red
#AA2704
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E1D #1DA0B1
analogous
#B11D56 #B12E1D #B1781D
triadic
#B12E1D #1DB12E #2E1DB1
tetradic
#B12E1D #56B11D #1DA0B1 #781DB1
square
#B12E1D #56B11D #1DA0B1 #781DB1
split-complementary
#B12E1D #1DB178 #1D56B1
monochromatic
#48130C #7C2014 #B12E1D #DD422E #E57263
Accessibility & contrast
On white
6.41
#B12E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B12E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E1D
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E1D | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C19
Deuteranopia (green-blind)
#766916
Tritanopia (blue-blind)
#C3002C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e1d; /* rgb */ color: rgb(177, 46, 29); /* oklch */ color: oklch(50.5% 0.170 30.9);
Tailwind
colors: {
custom: {
50: '#d2715b',
500: '#b12e1d',
950: '#000000',
},
}SCSS
$custom: #b12e1d; $custom-light: #d2715b; $custom-dark: #000000;
JSON
{
"hex": "#b12e1d",
"rgb": {
"r": 177,
"g": 46,
"b": 29
},
"hsl": {
"h": 6.892,
"s": 71.845,
"l": 40.392
},
"oklch": {
"l": 0.50459,
"c": 0.17033,
"h": 30.9
},
"luminance": 0.1139
}Semantic roles & 50–950 ramp
primary
#B12E1D
secondary
#60BECA
accent
#DAEF39
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79