#B42417#B42417

#B42417 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.181 H 29.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B42417
RGBrgb(180, 36, 23)
HSLhsl(5, 77%, 40%)
HSVhsv(5, 87%, 71%)
CMYKcmyk(0%, 80%, 87.2%, 29.4%)
CIE-LABlab(39.63, 55.66, 43.98)
CIE-LCHlch(39.63, 70.94, 38.31°)
OKLaboklab(50.1% 0.1573 0.0905)
OKLCHoklch(50.1% 0.181 29.9)
XYZxyz(19.6104, 11.0301, 1.9069)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42417 #17A7B4
analogous
#B41759 #B42417 #B47217
triadic
#B42417 #17B424 #2417B4
tetradic
#B42417 #59B417 #17A7B4 #7217B4
square
#B42417 #59B417 #17A7B4 #7217B4
split-complementary
#B42417 #17B472 #1759B4
monochromatic
#470E09 #7E1910 #B42417 #E33525 #EA675B

Accessibility & contrast

On white

6.55
#B42417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B42417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42417
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42417#FFFFFF#000000##FFFFFF
##B424171.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534913
Deuteranopia (green-blind)
#76690C
Tritanopia (blue-blind)
#C70023
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b42417;
/* rgb */ color: rgb(180, 36, 23);
/* oklch */ color: oklch(50.1% 0.181 29.9);
Tailwind
colors: {
  custom: {
    50: '#d56d57',
    500: '#b42417',
    950: '#000000',
  },
}
SCSS
$custom: #b42417;
$custom-light: #d56d57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42417",
  "rgb": {
    "r": 180,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 4.968,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50101,
    "c": 0.18149,
    "h": 29.9
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#B42417
secondary
#59C4CE
accent
#E4F434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42417

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

Preview Lab → · Contrast checker → · Palette generator →

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