#842A17#842A17

#842A17 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.127 H 33.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#842A17
RGBrgb(132, 42, 23)
HSLhsl(10, 70%, 30%)
HSVhsv(10, 83%, 52%)
CMYKcmyk(0%, 68.2%, 82.6%, 48.2%)
CIE-LABlab(30.94, 37.59, 32.60)
CIE-LCHlch(30.94, 49.76, 40.93°)
OKLaboklab(41.9% 0.106 0.0705)
OKLCHoklch(41.9% 0.127 33.6)
XYZxyz(10.4995, 6.6249, 1.5363)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842A17 #177184
analogous
#84173A #842A17 #846117
triadic
#842A17 #17842A #2A1784
tetradic
#842A17 #3A8417 #177184 #611784
square
#842A17 #3A8417 #177184 #611784
split-complementary
#842A17 #178461 #173A84
monochromatic
#1C0905 #50190E #842A17 #B83B20 #DC5539

Accessibility & contrast

On white

9.03
#842A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842A17
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842A17#FFFFFF#000000##FFFFFF
##842A171.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#920F26
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842a17;
/* rgb */ color: rgb(132, 42, 23);
/* oklch */ color: oklch(41.9% 0.127 33.6);
Tailwind
colors: {
  custom: {
    50: '#af6956',
    500: '#842a17',
    950: '#000000',
  },
}
SCSS
$custom: #842a17;
$custom-light: #af6956;
$custom-dark: #000000;
JSON
{
  "hex": "#842a17",
  "rgb": {
    "r": 132,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 10.459,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.12732,
    "h": 33.6
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#842A17
secondary
#3FA3B8
accent
#CEED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842A17

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

Preview Lab → · Contrast checker → · Palette generator →

#842A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva