#81173F#81173F

#81173F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.142 H 4.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#81173F
RGBrgb(129, 23, 63)
HSLhsl(337, 70%, 30%)
HSVhsv(337, 82%, 51%)
CMYKcmyk(0%, 82.2%, 51.2%, 49.4%)
CIE-LABlab(28.49, 46.30, 3.90)
CIE-LCHlch(28.49, 46.47, 4.82°)
OKLaboklab(40.2% 0.1418 0.0104)
OKLCHoklch(40.2% 0.142 4.2)
XYZxyz(10.2578, 5.6402, 5.2502)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81173F #178159
analogous
#811774 #81173F #812417
triadic
#81173F #3F8117 #173F81
tetradic
#81173F #748117 #178159 #241781
square
#81173F #748117 #178159 #241781
split-complementary
#81173F #178124 #177481
monochromatic
#1A050D #4D0E26 #81173F #B52058 #DB3775

Accessibility & contrast

On white

9.87
#81173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#81173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81173F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81173F#FFFFFF#000000##FFFFFF
##81173F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4E4B3D
Tritanopia (blue-blind)
#8D0029
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #81173f;
/* rgb */ color: rgb(129, 23, 63);
/* oklch */ color: oklch(40.2% 0.142 4.2);
Tailwind
colors: {
  custom: {
    50: '#ab6173',
    500: '#81173f',
    950: '#000000',
  },
}
SCSS
$custom: #81173f;
$custom-light: #ab6173;
$custom-dark: #000000;
JSON
{
  "hex": "#81173f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 337.358,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.1422,
    "h": 4.2
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#81173F
secondary
#3EB588
accent
#EDAA3B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #81173F

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

Preview Lab → · Contrast checker → · Palette generator →

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