#B42A1A#B42A1A

#B42A1A is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 30.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B42A1A
RGBrgb(180, 42, 26)
HSLhsl(6, 75%, 40%)
HSVhsv(6, 86%, 71%)
CMYKcmyk(0%, 76.7%, 85.6%, 29.4%)
CIE-LABlab(40.31, 53.89, 43.11)
CIE-LCHlch(40.31, 69.01, 38.65°)
OKLaboklab(50.61% 0.1523 0.0899)
OKLCHoklch(50.61% 0.177 30.5)
XYZxyz(19.8393, 11.4370, 2.1400)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A1A #1AA4B4
analogous
#B41A57 #B42A1A #B4771A
triadic
#B42A1A #1AB42A #2A1AB4
tetradic
#B42A1A #57B41A #1AA4B4 #771AB4
square
#B42A1A #57B41A #1AA4B4 #771AB4
split-complementary
#B42A1A #1AB477 #1A57B4
monochromatic
#49110B #7F1E12 #B42A1A #E03E2B #E86E60

Accessibility & contrast

On white

6.39
#B42A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B42A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A1A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A1A#FFFFFF#000000##FFFFFF
##B42A1A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C16
Deuteranopia (green-blind)
#776A11
Tritanopia (blue-blind)
#C70028
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a1a;
/* rgb */ color: rgb(180, 42, 26);
/* oklch */ color: oklch(50.6% 0.177 30.5);
Tailwind
colors: {
  custom: {
    50: '#d46f59',
    500: '#b42a1a',
    950: '#000000',
  },
}
SCSS
$custom: #b42a1a;
$custom-light: #d46f59;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a1a",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 6.234,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.17684,
    "h": 30.5
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#B42A1A
secondary
#5DC1CC
accent
#DEF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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