#842717#842717

#842717 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.5% C 0.130 H 32.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#842717
RGBrgb(132, 39, 23)
HSLhsl(9, 70%, 30%)
HSVhsv(9, 83%, 52%)
CMYKcmyk(0%, 70.5%, 82.6%, 48.2%)
CIE-LABlab(30.45, 38.92, 32.12)
CIE-LCHlch(30.45, 50.46, 39.53°)
OKLaboklab(41.53% 0.1102 0.0694)
OKLCHoklch(41.53% 0.13 32.2)
XYZxyz(10.3971, 6.4200, 1.5022)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842717 #177484
analogous
#84173E #842717 #845D17
triadic
#842717 #178427 #271784
tetradic
#842717 #3E8417 #177484 #5D1784
square
#842717 #3E8417 #177484 #5D1784
split-complementary
#842717 #17845D #173E84
monochromatic
#1C0805 #50180E #842717 #B83620 #DC5139

Accessibility & contrast

On white

9.20
#842717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#842717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842717
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842717#FFFFFF#000000##FFFFFF
##8427171.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B14
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#920724
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842717;
/* rgb */ color: rgb(132, 39, 23);
/* oklch */ color: oklch(41.5% 0.130 32.2);
Tailwind
colors: {
  custom: {
    50: '#b06755',
    500: '#842717',
    950: '#000000',
  },
}
SCSS
$custom: #842717;
$custom-light: #b06755;
$custom-dark: #000000;
JSON
{
  "hex": "#842717",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 8.807,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.1302,
    "h": 32.2
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#842717
secondary
#3FA6B8
accent
#D3ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842717

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

Preview Lab → · Contrast checker → · Palette generator →

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