#B12F2F#B12F2F
#B12F2F is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.167 H 25.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B12F2F |
|---|---|
| RGB | rgb(177, 47, 47) |
| HSL | hsl(0, 58%, 44%) |
| HSV | hsv(0, 73%, 69%) |
| CMYK | cmyk(0%, 73.4%, 73.4%, 30.6%) |
| CIE-LAB | lab(40.55, 51.95, 31.64) |
| CIE-LCH | lch(40.55, 60.82, 31.34°) |
| OKLab | oklab(50.76% 0.1507 0.0717) |
| OKLCH | oklch(50.76% 0.167 25.4) |
| XYZ | xyz(19.6633, 11.5884, 3.8902) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.69
Brown
#A52A2A
ΔE00 2.72
Dull Red
#BB3F3F
ΔE00 4.33
Lipstick Red
#C0022F
ΔE00 4.45
Scarlet
#BE0119
ΔE00 4.65
Cardinal
#C41E3A
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12F2F #2FB1B1
analogous
#B12F70 #B12F2F #B1702F
triadic
#B12F2F #2FB12F #2F2FB1
tetradic
#B12F2F #70B12F #2FB1B1 #702FB1
square
#B12F2F #70B12F #2FB1B1 #702FB1
split-complementary
#B12F2F #2FB170 #2F70B1
monochromatic
#501515 #812222 #B12F2F #D04D4D #DD7E7E
Accessibility & contrast
On white
6.33
#B12F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#B12F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12F2F
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12F2F | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E2E
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12f2f; /* rgb */ color: rgb(177, 47, 47); /* oklch */ color: oklch(50.8% 0.167 25.4);
Tailwind
colors: {
custom: {
50: '#d17168',
500: '#b12f2f',
950: '#000000',
},
}SCSS
$custom: #b12f2f; $custom-light: #d17168; $custom-dark: #000000;
JSON
{
"hex": "#b12f2f",
"rgb": {
"r": 177,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.50758,
"c": 0.16691,
"h": 25.4
},
"luminance": 0.11585
}Semantic roles & 50–950 ramp
primary
#B12F2F
secondary
#76C5C5
accent
#E1E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160806
muted
#847B7A