#81172D#81172D

#81172D is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.140 H 15.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#81172D
RGBrgb(129, 23, 45)
HSLhsl(348, 70%, 30%)
HSVhsv(348, 82%, 51%)
CMYKcmyk(0%, 82.2%, 65.1%, 49.4%)
CIE-LABlab(28.04, 44.92, 15.38)
CIE-LCHlch(28.04, 47.48, 18.90°)
OKLaboklab(39.73% 0.1345 0.0372)
OKLCHoklch(39.73% 0.14 15.5)
XYZxyz(9.8344, 5.4709, 3.0203)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81172D #17816B
analogous
#811762 #81172D #813617
triadic
#81172D #2D8117 #172D81
tetradic
#81172D #628117 #17816B #361781
square
#81172D #628117 #17816B #361781
split-complementary
#81172D #178136 #176281
monochromatic
#1A0509 #4D0E1B #81172D #B5203F #DB3759

Accessibility & contrast

On white

10.03
#81172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#81172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81172D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81172D#FFFFFF#000000##FFFFFF
##81172D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8E0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #81172d;
/* rgb */ color: rgb(129, 23, 45);
/* oklch */ color: oklch(39.7% 0.140 15.5);
Tailwind
colors: {
  custom: {
    50: '#ac6065',
    500: '#81172d',
    950: '#000000',
  },
}
SCSS
$custom: #81172d;
$custom-light: #ac6065;
$custom-dark: #000000;
JSON
{
  "hex": "#81172d",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 347.547,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.13952,
    "h": 15.5
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#81172D
secondary
#3EB59D
accent
#EDC83B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #81172D

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

Preview Lab → · Contrast checker → · Palette generator →

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