#81171F#81171F

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

Color values

HEX#81171F
RGBrgb(129, 23, 31)
HSLhsl(355, 70%, 30%)
HSVhsv(355, 82%, 51%)
CMYKcmyk(0%, 82.2%, 76%, 49.4%)
CIE-LABlab(27.79, 44.16, 24.29)
CIE-LCHlch(27.79, 50.40, 28.81°)
OKLaboklab(39.47% 0.1288 0.0549)
OKLCHoklch(39.47% 0.14 23.1)
XYZxyz(9.6081, 5.3804, 1.8287)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81171F #178179
analogous
#811754 #81171F #814417
triadic
#81171F #1F8117 #171F81
tetradic
#81171F #548117 #178179 #441781
square
#81171F #548117 #178179 #441781
split-complementary
#81171F #178144 #175481
monochromatic
#1A0506 #4D0E13 #81171F #B5202B #DB3743

Accessibility & contrast

On white

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

On black

2.08
#81171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##81171F#FFFFFF#000000##FFFFFF
##81171F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#8E001B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #81171f;
/* rgb */ color: rgb(129, 23, 31);
/* oklch */ color: oklch(39.5% 0.140 23.1);
Tailwind
colors: {
  custom: {
    50: '#ad605a',
    500: '#81171f',
    950: '#000000',
  },
}
SCSS
$custom: #81171f;
$custom-light: #ad605a;
$custom-dark: #000000;
JSON
{
  "hex": "#81171f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 355.472,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.14001,
    "h": 23.1
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#81171F
secondary
#3EB5AC
accent
#EDDF3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #81171F

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

Preview Lab → · Contrast checker → · Palette generator →

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