#B12E2A#B12E2A
#B12E2A is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.168 H 27.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E2A |
|---|---|
| RGB | rgb(177, 46, 42) |
| HSL | hsl(2, 62%, 43%) |
| HSV | hsv(2, 76%, 69%) |
| CMYK | cmyk(0%, 74%, 76.3%, 30.6%) |
| CIE-LAB | lab(40.36, 52.10, 34.35) |
| CIE-LCH | lch(40.36, 62.40, 33.40°) |
| OKLab | oklab(50.6% 0.1501 0.0764) |
| OKLCH | oklch(50.6% 0.168 27) |
| XYZ | xyz(19.5286, 11.4713, 3.3759) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.72
Brown
#A52A2A
ΔE00 2.92
Scarlet
#BE0119
ΔE00 3.83
Brick
#A03623
ΔE00 4.52
Brownish Red
#9E3623
ΔE00 4.79
Dull Red
#BB3F3F
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E2A #2AADB1
analogous
#B12A69 #B12E2A #B1722A
triadic
#B12E2A #2AB12E #2E2AB1
tetradic
#B12E2A #69B12A #2AADB1 #722AB1
square
#B12E2A #69B12A #2AADB1 #722AB1
split-complementary
#B12E2A #2AB172 #2A69B1
monochromatic
#4E1413 #80211E #B12E2A #D34945 #DF7A77
Accessibility & contrast
On white
6.38
#B12E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B12E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E2A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E2A | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e2a; /* rgb */ color: rgb(177, 46, 42); /* oklch */ color: oklch(50.6% 0.168 27.0);
Tailwind
colors: {
custom: {
50: '#d17164',
500: '#b12e2a',
950: '#000000',
},
}SCSS
$custom: #b12e2a; $custom-light: #d17164; $custom-dark: #000000;
JSON
{
"hex": "#b12e2a",
"rgb": {
"r": 177,
"g": 46,
"b": 42
},
"hsl": {
"h": 1.778,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.50596,
"c": 0.16844,
"h": 27
},
"luminance": 0.11468
}Semantic roles & 50–950 ramp
primary
#B12E2A
secondary
#70C4C6
accent
#E0E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A