#842217#842217

#842217 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.135 H 30.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#842217
RGBrgb(132, 34, 23)
HSLhsl(6, 70%, 30%)
HSVhsv(6, 83%, 52%)
CMYKcmyk(0%, 74.2%, 82.6%, 48.2%)
CIE-LABlab(29.70, 40.98, 31.37)
CIE-LCHlch(29.70, 51.61, 37.43°)
OKLaboklab(40.96% 0.1166 0.0678)
OKLCHoklch(40.96% 0.135 30.2)
XYZxyz(10.2436, 6.1130, 1.4510)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842217 #177984
analogous
#841742 #842217 #845817
triadic
#842217 #178422 #221784
tetradic
#842217 #428417 #177984 #581784
square
#842217 #428417 #177984 #581784
split-complementary
#842217 #178458 #174284
monochromatic
#1C0705 #50150E #842217 #B82F20 #DC4939

Accessibility & contrast

On white

9.45
#842217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#842217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842217
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842217#FFFFFF#000000##FFFFFF
##8422171.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#584E12
Tritanopia (blue-blind)
#920020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842217;
/* rgb */ color: rgb(132, 34, 23);
/* oklch */ color: oklch(41.0% 0.135 30.2);
Tailwind
colors: {
  custom: {
    50: '#b06555',
    500: '#842217',
    950: '#000000',
  },
}
SCSS
$custom: #842217;
$custom-light: #b06555;
$custom-dark: #000000;
JSON
{
  "hex": "#842217",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 6.055,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40964,
    "c": 0.13484,
    "h": 30.2
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#842217
secondary
#3FACB8
accent
#DBED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842217

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

Preview Lab → · Contrast checker → · Palette generator →

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