#B12E2B#B12E2B
#B12E2B is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.168 H 26.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E2B |
|---|---|
| RGB | rgb(177, 46, 43) |
| HSL | hsl(1, 61%, 43%) |
| HSV | hsv(1, 76%, 69%) |
| CMYK | cmyk(0%, 74%, 75.7%, 30.6%) |
| CIE-LAB | lab(40.38, 52.14, 33.78) |
| CIE-LCH | lch(40.38, 62.12, 32.94°) |
| OKLab | oklab(50.61% 0.1505 0.0754) |
| OKLCH | oklch(50.61% 0.168 26.6) |
| XYZ | xyz(19.5468, 11.4785, 3.4714) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.86
Brown
#A52A2A
ΔE00 2.80
Scarlet
#BE0119
ΔE00 3.96
Brick
#A03623
ΔE00 4.72
Dull Red
#BB3F3F
ΔE00 4.94
Brownish Red
#9E3623
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E2B #2BAEB1
analogous
#B12B6B #B12E2B #B1712B
triadic
#B12E2B #2BB12E #2E2BB1
tetradic
#B12E2B #6BB12B #2BAEB1 #712BB1
square
#B12E2B #6BB12B #2BAEB1 #712BB1
split-complementary
#B12E2B #2BB171 #2B6BB1
monochromatic
#4F1413 #80211F #B12E2B #D24A47 #DE7A78
Accessibility & contrast
On white
6.37
#B12E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B12E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E2B
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E2B | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e2b; /* rgb */ color: rgb(177, 46, 43); /* oklch */ color: oklch(50.6% 0.168 26.6);
Tailwind
colors: {
custom: {
50: '#d17165',
500: '#b12e2b',
950: '#000000',
},
}SCSS
$custom: #b12e2b; $custom-light: #d17165; $custom-dark: #000000;
JSON
{
"hex": "#b12e2b",
"rgb": {
"r": 177,
"g": 46,
"b": 43
},
"hsl": {
"h": 1.343,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.50608,
"c": 0.16831,
"h": 26.6
},
"luminance": 0.11476
}Semantic roles & 50–950 ramp
primary
#B12E2B
secondary
#72C4C6
accent
#E0E444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A