#842317#842317

#842317 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.134 H 30.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#842317
RGBrgb(132, 35, 23)
HSLhsl(7, 70%, 30%)
HSVhsv(7, 83%, 52%)
CMYKcmyk(0%, 73.5%, 82.6%, 48.2%)
CIE-LABlab(29.84, 40.58, 31.51)
CIE-LCHlch(29.84, 51.38, 37.83°)
OKLaboklab(41.07% 0.1153 0.0681)
OKLCHoklch(41.07% 0.134 30.6)
XYZxyz(10.2726, 6.1710, 1.4607)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842317 #177884
analogous
#841741 #842317 #845A17
triadic
#842317 #178423 #231784
tetradic
#842317 #418417 #177884 #5A1784
square
#842317 #418417 #177884 #5A1784
split-complementary
#842317 #17845A #174184
monochromatic
#1C0705 #50150E #842317 #B83120 #DC4B39

Accessibility & contrast

On white

9.40
#842317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#842317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842317
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842317#FFFFFF#000000##FFFFFF
##8423171.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842317;
/* rgb */ color: rgb(132, 35, 23);
/* oklch */ color: oklch(41.1% 0.134 30.6);
Tailwind
colors: {
  custom: {
    50: '#b06555',
    500: '#842317',
    950: '#000000',
  },
}
SCSS
$custom: #842317;
$custom-light: #b06555;
$custom-dark: #000000;
JSON
{
  "hex": "#842317",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 6.606,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.13393,
    "h": 30.6
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#842317
secondary
#3FABB8
accent
#D9ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842317

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

Preview Lab → · Contrast checker → · Palette generator →

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