#B42717#B42717

#B42717 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.179 H 30.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B42717
RGBrgb(180, 39, 23)
HSLhsl(6, 77%, 40%)
HSVhsv(6, 87%, 71%)
CMYKcmyk(0%, 78.3%, 87.2%, 29.4%)
CIE-LABlab(39.95, 54.77, 44.24)
CIE-LCHlch(39.95, 70.41, 38.93°)
OKLaboklab(50.34% 0.1545 0.0911)
OKLCHoklch(50.34% 0.179 30.5)
XYZxyz(19.7050, 11.2194, 1.9385)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42717 #17A4B4
analogous
#B41755 #B42717 #B47617
triadic
#B42717 #17B427 #2717B4
tetradic
#B42717 #55B417 #17A4B4 #7617B4
square
#B42717 #55B417 #17A4B4 #7617B4
split-complementary
#B42717 #17B476 #1755B4
monochromatic
#470F09 #7E1B10 #B42717 #E33825 #EA6A5B

Accessibility & contrast

On white

6.48
#B42717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B42717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42717
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42717#FFFFFF#000000##FFFFFF
##B427171.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A12
Deuteranopia (green-blind)
#77690C
Tritanopia (blue-blind)
#C70025
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42717;
/* rgb */ color: rgb(180, 39, 23);
/* oklch */ color: oklch(50.3% 0.179 30.5);
Tailwind
colors: {
  custom: {
    50: '#d56e57',
    500: '#b42717',
    950: '#000000',
  },
}
SCSS
$custom: #b42717;
$custom-light: #d56e57;
$custom-dark: #000000;
JSON
{
  "hex": "#b42717",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 6.115,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.17941,
    "h": 30.5
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#B42717
secondary
#59C2CE
accent
#E0F434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42717

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

Preview Lab → · Contrast checker → · Palette generator →

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