#81171A#81171A

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

Color values

HEX#81171A
RGBrgb(129, 23, 26)
HSLhsl(358, 70%, 30%)
HSVhsv(358, 82%, 51%)
CMYKcmyk(0%, 82.2%, 79.8%, 49.4%)
CIE-LABlab(27.73, 43.95, 27.36)
CIE-LCHlch(27.73, 51.77, 31.90°)
OKLaboklab(39.4% 0.1269 0.0603)
OKLCHoklch(39.4% 0.141 25.4)
XYZxyz(9.5473, 5.3560, 1.5082)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81171A #17817E
analogous
#81174F #81171A #814917
triadic
#81171A #1A8117 #171A81
tetradic
#81171A #4F8117 #17817E #491781
square
#81171A #4F8117 #17817E #491781
split-complementary
#81171A #178149 #174F81
monochromatic
#1A0505 #4D0E10 #81171A #B52024 #DB373C

Accessibility & contrast

On white

10.14
#81171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81171A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81171A#FFFFFF#000000##FFFFFF
##81171A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#8F001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #81171a;
/* rgb */ color: rgb(129, 23, 26);
/* oklch */ color: oklch(39.4% 0.141 25.4);
Tailwind
colors: {
  custom: {
    50: '#ae5f57',
    500: '#81171a',
    950: '#000000',
  },
}
SCSS
$custom: #81171a;
$custom-light: #ae5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#81171a",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 358.302,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39396,
    "c": 0.14052,
    "h": 25.4
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#81171A
secondary
#3EB5B2
accent
#EDE83B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #81171A

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

Preview Lab → · Contrast checker → · Palette generator →

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