#B42D1A#B42D1A

#B42D1A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.175 H 31.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B42D1A
RGBrgb(180, 45, 26)
HSLhsl(7, 75%, 40%)
HSVhsv(7, 86%, 71%)
CMYKcmyk(0%, 75%, 85.6%, 29.4%)
CIE-LABlab(40.67, 52.89, 43.42)
CIE-LCHlch(40.67, 68.43, 39.38°)
OKLaboklab(50.88% 0.1492 0.0906)
OKLCHoklch(50.88% 0.175 31.3)
XYZxyz(19.9497, 11.6578, 2.1768)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D1A #1AA1B4
analogous
#B41A54 #B42D1A #B47A1A
triadic
#B42D1A #1AB42D #2D1AB4
tetradic
#B42D1A #54B41A #1AA1B4 #7A1AB4
square
#B42D1A #54B41A #1AA1B4 #7A1AB4
split-complementary
#B42D1A #1AB47A #1A54B4
monochromatic
#49120B #7F2012 #B42D1A #E0412B #E87160

Accessibility & contrast

On white

6.30
#B42D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B42D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D1A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D1A#FFFFFF#000000##FFFFFF
##B42D1A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42d1a;
/* rgb */ color: rgb(180, 45, 26);
/* oklch */ color: oklch(50.9% 0.175 31.3);
Tailwind
colors: {
  custom: {
    50: '#d47059',
    500: '#b42d1a',
    950: '#000000',
  },
}
SCSS
$custom: #b42d1a;
$custom-light: #d47059;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d1a",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 26
  },
  "hsl": {
    "h": 7.403,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.17453,
    "h": 31.3
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#B42D1A
secondary
#5DBFCC
accent
#DAF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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