#B42917#B42917

#B42917 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.178 H 31.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B42917
RGBrgb(180, 41, 23)
HSLhsl(7, 77%, 40%)
HSVhsv(7, 87%, 71%)
CMYKcmyk(0%, 77.2%, 87.2%, 29.4%)
CIE-LABlab(40.17, 54.15, 44.42)
CIE-LCHlch(40.17, 70.04, 39.37°)
OKLaboklab(50.5% 0.1526 0.0916)
OKLCHoklch(50.5% 0.178 31)
XYZxyz(19.7725, 11.3542, 1.9609)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42917 #17A2B4
analogous
#B41754 #B42917 #B47817
triadic
#B42917 #17B429 #2917B4
tetradic
#B42917 #54B417 #17A2B4 #7817B4
square
#B42917 #54B417 #17A2B4 #7817B4
split-complementary
#B42917 #17B478 #1754B4
monochromatic
#471009 #7E1D10 #B42917 #E33B25 #EA6C5B

Accessibility & contrast

On white

6.42
#B42917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B42917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42917
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42917#FFFFFF#000000##FFFFFF
##B429171.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#776A0D
Tritanopia (blue-blind)
#C70027
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42917;
/* rgb */ color: rgb(180, 41, 23);
/* oklch */ color: oklch(50.5% 0.178 31.0);
Tailwind
colors: {
  custom: {
    50: '#d56f57',
    500: '#b42917',
    950: '#000000',
  },
}
SCSS
$custom: #b42917;
$custom-light: #d56f57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42917",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 6.879,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.17796,
    "h": 31
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#B42917
secondary
#59C0CE
accent
#DEF434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42917

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

Preview Lab → · Contrast checker → · Palette generator →

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