#B42A1C#B42A1C

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

Color values

HEX#B42A1C
RGBrgb(180, 42, 28)
HSLhsl(6, 73%, 41%)
HSVhsv(6, 84%, 71%)
CMYKcmyk(0%, 76.7%, 84.4%, 29.4%)
CIE-LABlab(40.32, 53.94, 42.13)
CIE-LCHlch(40.32, 68.44, 37.99°)
OKLaboklab(50.63% 0.1528 0.0885)
OKLCHoklch(50.63% 0.177 30.1)
XYZxyz(19.8624, 11.4463, 2.2619)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A1C #1CA6B4
analogous
#B41C5A #B42A1C #B4761C
triadic
#B42A1C #1CB42A #2A1CB4
tetradic
#B42A1C #5AB41C #1CA6B4 #761CB4
square
#B42A1C #5AB41C #1CA6B4 #761CB4
split-complementary
#B42A1C #1CB476 #1C5AB4
monochromatic
#4A110C #7F1E14 #B42A1C #DF3F2F #E77064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42A1C#FFFFFF#000000##FFFFFF
##B42A1C1.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)
#554C18
Deuteranopia (green-blind)
#776A14
Tritanopia (blue-blind)
#C70029
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a1c;
/* rgb */ color: rgb(180, 42, 28);
/* oklch */ color: oklch(50.6% 0.177 30.1);
Tailwind
colors: {
  custom: {
    50: '#d46f5a',
    500: '#b42a1c',
    950: '#000000',
  },
}
SCSS
$custom: #b42a1c;
$custom-light: #d46f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a1c",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 5.526,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.17659,
    "h": 30.1
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#B42A1C
secondary
#60C2CC
accent
#DFF038
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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