#B42816#B42816

#B42816 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.179 H 30.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B42816
RGBrgb(180, 40, 22)
HSLhsl(7, 78%, 40%)
HSVhsv(7, 88%, 71%)
CMYKcmyk(0%, 77.8%, 87.8%, 29.4%)
CIE-LABlab(40.05, 54.44, 44.79)
CIE-LCHlch(40.05, 70.50, 39.44°)
OKLaboklab(50.41% 0.1534 0.0919)
OKLCHoklch(50.41% 0.179 30.9)
XYZxyz(19.7285, 11.2820, 1.8978)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42816 #16A2B4
analogous
#B41653 #B42816 #B47716
triadic
#B42816 #16B428 #2816B4
tetradic
#B42816 #53B416 #16A2B4 #7716B4
square
#B42816 #53B416 #16A2B4 #7716B4
split-complementary
#B42816 #16B477 #1653B4
monochromatic
#471009 #7D1C0F #B42816 #E43923 #EB6A5A

Accessibility & contrast

On white

6.45
#B42816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42816
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42816#FFFFFF#000000##FFFFFF
##B428161.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#77690B
Tritanopia (blue-blind)
#C70026
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42816;
/* rgb */ color: rgb(180, 40, 22);
/* oklch */ color: oklch(50.4% 0.179 30.9);
Tailwind
colors: {
  custom: {
    50: '#d56e57',
    500: '#b42816',
    950: '#000000',
  },
}
SCSS
$custom: #b42816;
$custom-light: #d56e57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42816",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 6.835,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.17881,
    "h": 30.9
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#B42816
secondary
#58C1CE
accent
#DFF533
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42816

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

Preview Lab → · Contrast checker → · Palette generator →

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