#B42B1A#B42B1A

#B42B1A is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.176 H 30.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B42B1A
RGBrgb(180, 43, 26)
HSLhsl(7, 75%, 40%)
HSVhsv(7, 86%, 71%)
CMYKcmyk(0%, 76.1%, 85.6%, 29.4%)
CIE-LABlab(40.42, 53.57, 43.21)
CIE-LCHlch(40.42, 68.82, 38.89°)
OKLaboklab(50.7% 0.1513 0.0901)
OKLCHoklch(50.7% 0.176 30.8)
XYZxyz(19.8752, 11.5088, 2.1520)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42B1A #1AA3B4
analogous
#B41A56 #B42B1A #B4781A
triadic
#B42B1A #1AB42B #2B1AB4
tetradic
#B42B1A #56B41A #1AA3B4 #781AB4
square
#B42B1A #56B41A #1AA3B4 #781AB4
split-complementary
#B42B1A #1AB478 #1A56B4
monochromatic
#49110B #7F1E12 #B42B1A #E03F2B #E86F60

Accessibility & contrast

On white

6.36
#B42B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B42B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42B1A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42B1A#FFFFFF#000000##FFFFFF
##B42B1A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42b1a;
/* rgb */ color: rgb(180, 43, 26);
/* oklch */ color: oklch(50.7% 0.176 30.8);
Tailwind
colors: {
  custom: {
    50: '#d47059',
    500: '#b42b1a',
    950: '#000000',
  },
}
SCSS
$custom: #b42b1a;
$custom-light: #d47059;
$custom-dark: #000000;
JSON
{
  "hex": "#b42b1a",
  "rgb": {
    "r": 180,
    "g": 43,
    "b": 26
  },
  "hsl": {
    "h": 6.623,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.17608,
    "h": 30.8
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#B42B1A
secondary
#5DC0CC
accent
#DDF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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