#B12E2F#B12E2F
#B12E2F is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.168 H 25.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E2F |
|---|---|
| RGB | rgb(177, 46, 47) |
| HSL | hsl(360, 59%, 44%) |
| HSV | hsv(360, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 73.4%, 30.6%) |
| CIE-LAB | lab(40.43, 52.31, 31.49) |
| CIE-LCH | lch(40.43, 61.05, 31.05°) |
| OKLab | oklab(50.66% 0.1519 0.0714) |
| OKLCH | oklch(50.66% 0.168 25.2) |
| XYZ | xyz(19.6238, 11.5093, 3.8770) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.64
Firebrick
#B22222
ΔE00 2.73
Lipstick Red
#C0022F
ΔE00 4.27
Dull Red
#BB3F3F
ΔE00 4.40
Scarlet
#BE0119
ΔE00 4.66
Cardinal
#C41E3A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E2F #2EB1B0
analogous
#B12E70 #B12E2F #B16E2E
triadic
#B12E2F #2FB12E #2E2FB1
tetradic
#B12E2F #70B12E #2EB1B0 #6E2EB1
square
#B12E2F #70B12E #2EB1B0 #6E2EB1
split-complementary
#B12E2F #2EB16E #2E70B1
monochromatic
#501515 #802122 #B12E2F #D04C4D #DD7C7D
Accessibility & contrast
On white
6.36
#B12E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B12E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E2F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E2F | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2E
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e2f; /* rgb */ color: rgb(177, 46, 47); /* oklch */ color: oklch(50.7% 0.168 25.2);
Tailwind
colors: {
custom: {
50: '#d17168',
500: '#b12e2f',
950: '#000000',
},
}SCSS
$custom: #b12e2f; $custom-light: #d17168; $custom-dark: #000000;
JSON
{
"hex": "#b12e2f",
"rgb": {
"r": 177,
"g": 46,
"b": 47
},
"hsl": {
"h": 359.542,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.50662,
"c": 0.1678,
"h": 25.2
},
"luminance": 0.11506
}Semantic roles & 50–950 ramp
primary
#B12E2F
secondary
#75C6C5
accent
#E2E146
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160806
muted
#847B7A