#B42F1C#B42F1C

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

Color values

HEX#B42F1C
RGBrgb(180, 47, 28)
HSLhsl(8, 73%, 41%)
HSVhsv(8, 84%, 71%)
CMYKcmyk(0%, 73.9%, 84.4%, 29.4%)
CIE-LABlab(40.93, 52.24, 42.68)
CIE-LCHlch(40.93, 67.46, 39.25°)
OKLaboklab(51.08% 0.1475 0.0897)
OKLCHoklch(51.08% 0.173 31.3)
XYZxyz(20.0509, 11.8233, 2.3248)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F1C #1CA1B4
analogous
#B41C55 #B42F1C #B47B1C
triadic
#B42F1C #1CB42F #2F1CB4
tetradic
#B42F1C #55B41C #1CA1B4 #7B1CB4
square
#B42F1C #55B41C #1CA1B4 #7B1CB4
split-complementary
#B42F1C #1CB47B #1C55B4
monochromatic
#4A130C #7F2114 #B42F1C #DF452F #E77464

Accessibility & contrast

On white

6.24
#B42F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F1C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F1C#FFFFFF#000000##FFFFFF
##B42F1C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#786B14
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42f1c;
/* rgb */ color: rgb(180, 47, 28);
/* oklch */ color: oklch(51.1% 0.173 31.3);
Tailwind
colors: {
  custom: {
    50: '#d4715b',
    500: '#b42f1c',
    950: '#000000',
  },
}
SCSS
$custom: #b42f1c;
$custom-light: #d4715b;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f1c",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 7.5,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.17266,
    "h": 31.3
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#B42F1C
secondary
#60BECC
accent
#D9F038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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