#81171E#81171E

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

Color values

HEX#81171E
RGBrgb(129, 23, 30)
HSLhsl(356, 70%, 30%)
HSVhsv(356, 82%, 51%)
CMYKcmyk(0%, 82.2%, 76.7%, 49.4%)
CIE-LABlab(27.78, 44.11, 24.91)
CIE-LCHlch(27.78, 50.66, 29.45°)
OKLaboklab(39.45% 0.1284 0.056)
OKLCHoklch(39.45% 0.14 23.6)
XYZxyz(9.5951, 5.3752, 1.7603)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81171E #17817A
analogous
#811753 #81171E #814517
triadic
#81171E #1E8117 #171E81
tetradic
#81171E #538117 #17817A #451781
square
#81171E #538117 #17817A #451781
split-complementary
#81171E #178145 #175381
monochromatic
#1A0506 #4D0E12 #81171E #B5202A #DB3742

Accessibility & contrast

On white

10.12
#81171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81171E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81171E#FFFFFF#000000##FFFFFF
##81171E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81171e;
/* rgb */ color: rgb(129, 23, 30);
/* oklch */ color: oklch(39.5% 0.140 23.6);
Tailwind
colors: {
  custom: {
    50: '#ad605a',
    500: '#81171e',
    950: '#000000',
  },
}
SCSS
$custom: #81171e;
$custom-light: #ad605a;
$custom-dark: #000000;
JSON
{
  "hex": "#81171e",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 356.038,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.1401,
    "h": 23.6
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#81171E
secondary
#3EB5AE
accent
#EDE13B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #81171E

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

Preview Lab → · Contrast checker → · Palette generator →

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