#842917#842917

#842917 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.8% C 0.128 H 33.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#842917
RGBrgb(132, 41, 23)
HSLhsl(10, 70%, 30%)
HSVhsv(10, 83%, 52%)
CMYKcmyk(0%, 68.9%, 82.6%, 48.2%)
CIE-LABlab(30.77, 38.04, 32.43)
CIE-LCHlch(30.77, 49.99, 40.45°)
OKLaboklab(41.77% 0.1074 0.0701)
OKLCHoklch(41.77% 0.128 33.1)
XYZxyz(10.4645, 6.5548, 1.5246)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842917 #177284
analogous
#84173C #842917 #845F17
triadic
#842917 #178429 #291784
tetradic
#842917 #3C8417 #177284 #5F1784
square
#842917 #3C8417 #177284 #5F1784
split-complementary
#842917 #17845F #173C84
monochromatic
#1C0905 #50190E #842917 #B83920 #DC5439

Accessibility & contrast

On white

9.09
#842917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#842917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842917
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842917#FFFFFF#000000##FFFFFF
##8429171.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#920C26
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842917;
/* rgb */ color: rgb(132, 41, 23);
/* oklch */ color: oklch(41.8% 0.128 33.1);
Tailwind
colors: {
  custom: {
    50: '#af6855',
    500: '#842917',
    950: '#000000',
  },
}
SCSS
$custom: #842917;
$custom-light: #af6855;
$custom-dark: #000000;
JSON
{
  "hex": "#842917",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 9.908,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.12828,
    "h": 33.1
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#842917
secondary
#3FA4B8
accent
#D0ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842917

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

Preview Lab → · Contrast checker → · Palette generator →

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