#842417#842417

#842417 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.133 H 31.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#842417
RGBrgb(132, 36, 23)
HSLhsl(7, 70%, 30%)
HSVhsv(7, 83%, 52%)
CMYKcmyk(0%, 72.7%, 82.6%, 48.2%)
CIE-LABlab(29.99, 40.18, 31.66)
CIE-LCHlch(29.99, 51.15, 38.24°)
OKLaboklab(41.18% 0.1141 0.0684)
OKLCHoklch(41.18% 0.133 31)
XYZxyz(10.3025, 6.2307, 1.4706)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842417 #177784
analogous
#841740 #842417 #845A17
triadic
#842417 #178424 #241784
tetradic
#842417 #408417 #177784 #5A1784
square
#842417 #408417 #177784 #5A1784
split-complementary
#842417 #17845A #174084
monochromatic
#1C0805 #50160E #842417 #B83220 #DC4C39

Accessibility & contrast

On white

9.35
#842417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#842417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842417
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842417#FFFFFF#000000##FFFFFF
##8424171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403915
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#920022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842417;
/* rgb */ color: rgb(132, 36, 23);
/* oklch */ color: oklch(41.2% 0.133 31.0);
Tailwind
colors: {
  custom: {
    50: '#b06555',
    500: '#842417',
    950: '#000000',
  },
}
SCSS
$custom: #842417;
$custom-light: #b06555;
$custom-dark: #000000;
JSON
{
  "hex": "#842417",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.156,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.13301,
    "h": 31
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#842417
secondary
#3FAAB8
accent
#D8ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842417

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

Preview Lab → · Contrast checker → · Palette generator →

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