#81171D#81171D

#81171D is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.140 H 24.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#81171D
RGBrgb(129, 23, 29)
HSLhsl(357, 70%, 30%)
HSVhsv(357, 82%, 51%)
CMYKcmyk(0%, 82.2%, 77.5%, 49.4%)
CIE-LABlab(27.76, 44.07, 25.53)
CIE-LCHlch(27.76, 50.93, 30.08°)
OKLaboklab(39.44% 0.128 0.0571)
OKLCHoklch(39.44% 0.14 24.1)
XYZxyz(9.5826, 5.3702, 1.6941)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81171D #17817B
analogous
#811752 #81171D #814617
triadic
#81171D #1D8117 #171D81
tetradic
#81171D #528117 #17817B #461781
square
#81171D #528117 #17817B #461781
split-complementary
#81171D #178146 #175281
monochromatic
#1A0506 #4D0E11 #81171D #B52029 #DB3740

Accessibility & contrast

On white

10.13
#81171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#81171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81171D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81171D#FFFFFF#000000##FFFFFF
##81171D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331C
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#8F001B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #81171d;
/* rgb */ color: rgb(129, 23, 29);
/* oklch */ color: oklch(39.4% 0.140 24.1);
Tailwind
colors: {
  custom: {
    50: '#ae6059',
    500: '#81171d',
    950: '#000000',
  },
}
SCSS
$custom: #81171d;
$custom-light: #ae6059;
$custom-dark: #000000;
JSON
{
  "hex": "#81171d",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 356.604,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.1402,
    "h": 24.1
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#81171D
secondary
#3EB5AF
accent
#EDE33B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #81171D

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

Preview Lab → · Contrast checker → · Palette generator →

#81171D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva