#B42E1A#B42E1A

#B42E1A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.174 H 31.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B42E1A
RGBrgb(180, 46, 26)
HSLhsl(8, 75%, 40%)
HSVhsv(8, 86%, 71%)
CMYKcmyk(0%, 74.4%, 85.6%, 29.4%)
CIE-LABlab(40.79, 52.54, 43.53)
CIE-LCHlch(40.79, 68.23, 39.64°)
OKLaboklab(50.97% 0.1481 0.0908)
OKLCHoklch(50.97% 0.174 31.5)
XYZxyz(19.9883, 11.7350, 2.1897)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E1A #1AA0B4
analogous
#B41A53 #B42E1A #B47B1A
triadic
#B42E1A #1AB42E #2E1AB4
tetradic
#B42E1A #53B41A #1AA0B4 #7B1AB4
square
#B42E1A #53B41A #1AA0B4 #7B1AB4
split-complementary
#B42E1A #1AB47B #1A53B4
monochromatic
#49130B #7F2012 #B42E1A #E0422B #E87260

Accessibility & contrast

On white

6.28
#B42E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E1A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E1A#FFFFFF#000000##FFFFFF
##B42E1A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D16
Deuteranopia (green-blind)
#786B11
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42e1a;
/* rgb */ color: rgb(180, 46, 26);
/* oklch */ color: oklch(51.0% 0.174 31.5);
Tailwind
colors: {
  custom: {
    50: '#d47159',
    500: '#b42e1a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e1a;
$custom-light: #d47159;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e1a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 7.792,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.17375,
    "h": 31.5
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#B42E1A
secondary
#5DBECC
accent
#D9F136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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