#B12E30#B12E30
#B12E30 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.168 H 24.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E30 |
|---|---|
| RGB | rgb(177, 46, 48) |
| HSL | hsl(359, 59%, 44%) |
| HSV | hsv(359, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 72.9%, 30.6%) |
| CIE-LAB | lab(40.44, 52.35, 30.91) |
| CIE-LCH | lch(40.44, 60.79, 30.56°) |
| OKLab | oklab(50.68% 0.1522 0.0703) |
| OKLCH | oklch(50.68% 0.168 24.8) |
| XYZ | xyz(19.6442, 11.5175, 3.9845) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.69
Firebrick
#B22222
ΔE00 2.99
Lipstick Red
#C0022F
ΔE00 4.09
Dull Red
#BB3F3F
ΔE00 4.31
Cardinal
#C41E3A
ΔE00 4.84
Scarlet
#BE0119
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E30 #2EB1AF
analogous
#B12E71 #B12E30 #B16D2E
triadic
#B12E30 #30B12E #2E30B1
tetradic
#B12E30 #71B12E #2EB1AF #6D2EB1
square
#B12E30 #71B12E #2EB1AF #6D2EB1
split-complementary
#B12E30 #2EB16D #2E71B1
monochromatic
#501516 #802123 #B12E30 #D04C4E #DD7C7E
Accessibility & contrast
On white
6.36
#B12E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B12E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E30
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E30 | 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)
#544D2F
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12e30; /* rgb */ color: rgb(177, 46, 48); /* oklch */ color: oklch(50.7% 0.168 24.8);
Tailwind
colors: {
custom: {
50: '#d17168',
500: '#b12e30',
950: '#000000',
},
}SCSS
$custom: #b12e30; $custom-light: #d17168; $custom-dark: #000000;
JSON
{
"hex": "#b12e30",
"rgb": {
"r": 177,
"g": 46,
"b": 48
},
"hsl": {
"h": 359.084,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.50676,
"c": 0.16767,
"h": 24.8
},
"luminance": 0.11515
}Semantic roles & 50–950 ramp
primary
#B12E30
secondary
#75C6C4
accent
#E2E046
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A