#B42E17#B42E17

#B42E17 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.174 H 32.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B42E17
RGBrgb(180, 46, 23)
HSLhsl(9, 77%, 40%)
HSVhsv(9, 87%, 71%)
CMYKcmyk(0%, 74.4%, 87.2%, 29.4%)
CIE-LABlab(40.77, 52.48, 44.92)
CIE-LCHlch(40.77, 69.07, 40.56°)
OKLaboklab(50.95% 0.1474 0.0927)
OKLCHoklch(50.95% 0.174 32.2)
XYZxyz(19.9565, 11.7223, 2.0223)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E17 #179DB4
analogous
#B4174E #B42E17 #B47D17
triadic
#B42E17 #17B42E #2E17B4
tetradic
#B42E17 #4EB417 #179DB4 #7D17B4
square
#B42E17 #4EB417 #179DB4 #7D17B4
split-complementary
#B42E17 #17B47D #174EB4
monochromatic
#471209 #7E2010 #B42E17 #E34125 #EA705B

Accessibility & contrast

On white

6.28
#B42E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B42E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E17
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E17#FFFFFF#000000##FFFFFF
##B42E171.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D12
Deuteranopia (green-blind)
#786B0D
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42e17;
/* rgb */ color: rgb(180, 46, 23);
/* oklch */ color: oklch(51.0% 0.174 32.2);
Tailwind
colors: {
  custom: {
    50: '#d47158',
    500: '#b42e17',
    950: '#000000',
  },
}
SCSS
$custom: #b42e17;
$custom-light: #d47158;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e17",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 8.79,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.17415,
    "h": 32.2
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#B42E17
secondary
#59BDCE
accent
#D8F434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42E17

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

Preview Lab → · Contrast checker → · Palette generator →

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