#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
RGBrgb(180, 22, 47)
HSLhsl(351, 78%, 40%)
HSVhsv(351, 88%, 71%)
CMYKcmyk(0%, 87.8%, 73.9%, 29.4%)
CIE-LABlab(38.70, 59.75, 29.65)
CIE-LCHlch(38.70, 66.70, 26.39°)
OKLaboklab(49.49% 0.1752 0.0671)
OKLCHoklch(49.49% 0.188 21)
XYZxyz(19.6248, 10.4856, 3.6794)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##B4162F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.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

Preview Lab

Preview with #B4162F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B4162F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva