#842718#842718

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

Color values

HEX#842718
RGBrgb(132, 39, 24)
HSLhsl(8, 69%, 31%)
HSVhsv(8, 82%, 52%)
CMYKcmyk(0%, 70.5%, 81.8%, 48.2%)
CIE-LABlab(30.46, 38.95, 31.57)
CIE-LCHlch(30.46, 50.14, 39.02°)
OKLaboklab(41.54% 0.1105 0.0686)
OKLCHoklch(41.54% 0.13 31.8)
XYZxyz(10.4073, 6.4241, 1.5559)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842718 #187584
analogous
#84183F #842718 #845D18
triadic
#842718 #188427 #271884
tetradic
#842718 #3F8418 #187584 #5D1884
square
#842718 #3F8418 #187584 #5D1884
split-complementary
#842718 #18845D #183F84
monochromatic
#1C0805 #50180F #842718 #B83621 #DB513B

Accessibility & contrast

On white

9.19
#842718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842718
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842718#FFFFFF#000000##FFFFFF
##8427181.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842718;
/* rgb */ color: rgb(132, 39, 24);
/* oklch */ color: oklch(41.5% 0.130 31.8);
Tailwind
colors: {
  custom: {
    50: '#b06756',
    500: '#842718',
    950: '#000000',
  },
}
SCSS
$custom: #842718;
$custom-light: #b06756;
$custom-dark: #000000;
JSON
{
  "hex": "#842718",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 8.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.13,
    "h": 31.8
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#842718
secondary
#40A7B8
accent
#D4EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842718

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

Preview Lab → · Contrast checker → · Palette generator →

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