#81172E#81172E

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

Color values

HEX#81172E
RGBrgb(129, 23, 46)
HSLhsl(347, 70%, 30%)
HSVhsv(347, 82%, 51%)
CMYKcmyk(0%, 82.2%, 64.3%, 49.4%)
CIE-LABlab(28.06, 44.98, 14.74)
CIE-LCHlch(28.06, 47.34, 18.14°)
OKLaboklab(39.75% 0.1349 0.0358)
OKLCHoklch(39.75% 0.14 14.9)
XYZxyz(9.8538, 5.4787, 3.1229)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81172E #17816A
analogous
#811763 #81172E #813517
triadic
#81172E #2E8117 #172E81
tetradic
#81172E #638117 #17816A #351781
square
#81172E #638117 #17816A #351781
split-complementary
#81172E #178135 #176381
monochromatic
#1A0509 #4D0E1B #81172E #B52041 #DB375B

Accessibility & contrast

On white

10.02
#81172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#81172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81172E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81172E#FFFFFF#000000##FFFFFF
##81172E1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81172e;
/* rgb */ color: rgb(129, 23, 46);
/* oklch */ color: oklch(39.7% 0.140 14.9);
Tailwind
colors: {
  custom: {
    50: '#ac6066',
    500: '#81172e',
    950: '#000000',
  },
}
SCSS
$custom: #81172e;
$custom-light: #ac6066;
$custom-dark: #000000;
JSON
{
  "hex": "#81172e",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 346.981,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.13956,
    "h": 14.9
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#81172E
secondary
#3EB59C
accent
#EDC63B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #81172E

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

Preview Lab → · Contrast checker → · Palette generator →

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