#B42317#B42317

#B42317 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.182 H 29.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B42317
RGBrgb(180, 35, 23)
HSLhsl(5, 77%, 40%)
HSVhsv(5, 87%, 71%)
CMYKcmyk(0%, 80.6%, 87.2%, 29.4%)
CIE-LABlab(39.53, 55.95, 43.89)
CIE-LCHlch(39.53, 71.11, 38.12°)
OKLaboklab(50.03% 0.1582 0.0903)
OKLCHoklch(50.03% 0.182 29.7)
XYZxyz(19.5806, 10.9704, 1.8970)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42317 #17A8B4
analogous
#B4175A #B42317 #B47217
triadic
#B42317 #17B423 #2317B4
tetradic
#B42317 #5AB417 #17A8B4 #7217B4
square
#B42317 #5AB417 #17A8B4 #7217B4
split-complementary
#B42317 #17B472 #175AB4
monochromatic
#470E09 #7E1810 #B42317 #E33425 #EA665B

Accessibility & contrast

On white

6.58
#B42317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B42317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42317
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42317#FFFFFF#000000##FFFFFF
##B423171.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42317;
/* rgb */ color: rgb(180, 35, 23);
/* oklch */ color: oklch(50.0% 0.182 29.7);
Tailwind
colors: {
  custom: {
    50: '#d56c57',
    500: '#b42317',
    950: '#000000',
  },
}
SCSS
$custom: #b42317;
$custom-light: #d56c57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42317",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 4.586,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.18216,
    "h": 29.7
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#B42317
secondary
#59C5CE
accent
#E5F434
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #B42317

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

Preview Lab → · Contrast checker → · Palette generator →

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