#B4162F#B4162F
#B4162F is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.5% C 0.188 H 21.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B4162F |
|---|---|
| RGB | rgb(180, 22, 47) |
| HSL | hsl(351, 78%, 40%) |
| HSV | hsv(351, 88%, 71%) |
| CMYK | cmyk(0%, 87.8%, 73.9%, 29.4%) |
| CIE-LAB | lab(38.70, 59.75, 29.65) |
| CIE-LCH | lch(38.70, 66.70, 26.39°) |
| OKLab | oklab(49.49% 0.1752 0.0671) |
| OKLCH | oklch(49.49% 0.188 21) |
| XYZ | xyz(19.6248, 10.4856, 3.6794) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 2.08
Cardinal
#C41E3A
ΔE00 3.84
Brown
#A52A2A
ΔE00 4.00
Rose Red
#BE013C
ΔE00 4.27
Rouge
#AB1239
ΔE00 4.72
Firebrick
#B22222
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4162F #16B49B
analogous
#B4167E #B4162F #B44C16
triadic
#B4162F #2FB416 #162FB4
tetradic
#B4162F #7EB416 #16B49B #4C16B4
square
#B4162F #7EB416 #16B49B #4C16B4
split-complementary
#B4162F #16B44C #167EB4
monochromatic
#470913 #7D0F21 #B4162F #E42342 #EB5A71
Accessibility & contrast
On white
6.78
#B4162F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B4162F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B4162F
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B4162F | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#C60022
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b4162f; /* rgb */ color: rgb(180, 22, 47); /* oklch */ color: oklch(49.5% 0.188 21.0);
Tailwind
colors: {
custom: {
50: '#d46967',
500: '#b4162f',
950: '#000000',
},
}SCSS
$custom: #b4162f; $custom-light: #d46967; $custom-dark: #000000;
JSON
{
"hex": "#b4162f",
"rgb": {
"r": 180,
"g": 22,
"b": 47
},
"hsl": {
"h": 350.506,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.49489,
"c": 0.1876,
"h": 21
},
"luminance": 0.10482
}Semantic roles & 50–950 ramp
primary
#B4162F
secondary
#58CEBB
accent
#F5D633
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160706
muted
#847A7A