#84171F#84171F

#84171F is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 23.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#84171F
RGBrgb(132, 23, 31)
HSLhsl(356, 70%, 30%)
HSVhsv(356, 83%, 52%)
CMYKcmyk(0%, 82.6%, 76.5%, 48.2%)
CIE-LABlab(28.43, 45.09, 25.18)
CIE-LCHlch(28.43, 51.64, 29.18°)
OKLaboklab(40.05% 0.1313 0.0567)
OKLCHoklch(40.05% 0.143 23.3)
XYZxyz(10.0706, 5.6189, 1.8504)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84171F #17847C
analogous
#841756 #84171F #844517
triadic
#84171F #1F8417 #171F84
tetradic
#84171F #568417 #17847C #451784
square
#84171F #568417 #17847C #451784
split-complementary
#84171F #178445 #175684
monochromatic
#1C0507 #500E13 #84171F #B8202B #DC3945

Accessibility & contrast

On white

9.89
#84171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#84171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84171F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84171F#FFFFFF#000000##FFFFFF
##84171F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341E
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#92001B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #84171f;
/* rgb */ color: rgb(132, 23, 31);
/* oklch */ color: oklch(40.1% 0.143 23.3);
Tailwind
colors: {
  custom: {
    50: '#b0605a',
    500: '#84171f',
    950: '#000000',
  },
}
SCSS
$custom: #84171f;
$custom-light: #b0605a;
$custom-dark: #000000;
JSON
{
  "hex": "#84171f",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 355.596,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40052,
    "c": 0.14303,
    "h": 23.3
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#84171F
secondary
#3FB8AF
accent
#EDE03B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #84171F

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

Preview Lab → · Contrast checker → · Palette generator →

#84171F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva