#B42F1A#B42F1A

#B42F1A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.173 H 31.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B42F1A
RGBrgb(180, 47, 26)
HSLhsl(8, 75%, 40%)
HSVhsv(8, 86%, 71%)
CMYKcmyk(0%, 73.9%, 85.6%, 29.4%)
CIE-LABlab(40.92, 52.19, 43.64)
CIE-LCHlch(40.92, 68.03, 39.90°)
OKLaboklab(51.07% 0.147 0.0911)
OKLCHoklch(51.07% 0.173 31.8)
XYZxyz(20.0278, 11.8141, 2.2029)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F1A #1A9FB4
analogous
#B41A52 #B42F1A #B47C1A
triadic
#B42F1A #1AB42F #2F1AB4
tetradic
#B42F1A #52B41A #1A9FB4 #7C1AB4
square
#B42F1A #52B41A #1A9FB4 #7C1AB4
split-complementary
#B42F1A #1AB47C #1A52B4
monochromatic
#49130B #7F2112 #B42F1A #E0442B #E87360

Accessibility & contrast

On white

6.25
#B42F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B42F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F1A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F1A#FFFFFF#000000##FFFFFF
##B42F1A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E15
Deuteranopia (green-blind)
#796B12
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42f1a;
/* rgb */ color: rgb(180, 47, 26);
/* oklch */ color: oklch(51.1% 0.173 31.8);
Tailwind
colors: {
  custom: {
    50: '#d4715a',
    500: '#b42f1a',
    950: '#000000',
  },
}
SCSS
$custom: #b42f1a;
$custom-light: #d4715a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f1a",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 26
  },
  "hsl": {
    "h": 8.182,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.17294,
    "h": 31.8
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#B42F1A
secondary
#5DBDCC
accent
#D8F136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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