#B12E2E#B12E2E
#B12E2E is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.168 H 25.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E2E |
|---|---|
| RGB | rgb(177, 46, 46) |
| HSL | hsl(0, 59%, 44%) |
| HSV | hsv(0, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 74%, 30.6%) |
| CIE-LAB | lab(40.41, 52.26, 32.06) |
| CIE-LCH | lch(40.41, 61.31, 31.53°) |
| OKLab | oklab(50.65% 0.1515 0.0724) |
| OKLCH | oklch(50.65% 0.168 25.5) |
| XYZ | xyz(19.6038, 11.5014, 3.7720) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.48
Brown
#A52A2A
ΔE00 2.63
Lipstick Red
#C0022F
ΔE00 4.46
Scarlet
#BE0119
ΔE00 4.46
Dull Red
#BB3F3F
ΔE00 4.52
Cardinal
#C41E3A
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E2E #2EB1B1
analogous
#B12E6F #B12E2E #B16F2E
triadic
#B12E2E #2EB12E #2E2EB1
tetradic
#B12E2E #6FB12E #2EB1B1 #6F2EB1
square
#B12E2E #6FB12E #2EB1B1 #6F2EB1
split-complementary
#B12E2E #2EB16F #2E6FB1
monochromatic
#501515 #802121 #B12E2E #D04C4C #DD7C7C
Accessibility & contrast
On white
6.36
#B12E2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B12E2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E2E
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E2E | 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)
#554D2D
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e2e; /* rgb */ color: rgb(177, 46, 46); /* oklch */ color: oklch(50.6% 0.168 25.5);
Tailwind
colors: {
custom: {
50: '#d17167',
500: '#b12e2e',
950: '#000000',
},
}SCSS
$custom: #b12e2e; $custom-light: #d17167; $custom-dark: #000000;
JSON
{
"hex": "#b12e2e",
"rgb": {
"r": 177,
"g": 46,
"b": 46
},
"hsl": {
"h": 0,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.50648,
"c": 0.16792,
"h": 25.5
},
"luminance": 0.11498
}Semantic roles & 50–950 ramp
primary
#B12E2E
secondary
#75C6C6
accent
#E2E246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A