#81176D#81176D

#81176D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.2% C 0.166 H 337.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#81176D
RGBrgb(129, 23, 109)
HSLhsl(311, 70%, 30%)
HSVhsv(311, 82%, 51%)
CMYKcmyk(0%, 82.2%, 15.5%, 49.4%)
CIE-LABlab(30.36, 51.82, -23.49)
CIE-LCHlch(30.36, 56.90, 335.62°)
OKLaboklab(42.18% 0.1532 -0.064)
OKLCHoklch(42.18% 0.166 337.3)
XYZxyz(12.1202, 6.3852, 15.0592)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81176D #17812B
analogous
#601781 #81176D #811738
triadic
#81176D #6D8117 #176D81
tetradic
#81176D #816017 #17812B #173881
square
#81176D #816017 #17812B #173881
split-complementary
#81176D #388117 #178160
monochromatic
#1A0516 #4D0E41 #81176D #B52099 #DB37BC

Accessibility & contrast

On white

9.22
#81176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#81176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81176D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81176D#FFFFFF#000000##FFFFFF
##81176D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6F
Deuteranopia (green-blind)
#414D6B
Tritanopia (blue-blind)
#881E41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81176d;
/* rgb */ color: rgb(129, 23, 109);
/* oklch */ color: oklch(42.2% 0.166 337.3);
Tailwind
colors: {
  custom: {
    50: '#a96297',
    500: '#81176d',
    950: '#000000',
  },
}
SCSS
$custom: #81176d;
$custom-light: #a96297;
$custom-dark: #000000;
JSON
{
  "hex": "#81176d",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 311.321,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42179,
    "c": 0.16597,
    "h": 337.3
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#81176D
secondary
#3EB555
accent
#ED5D3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81176D

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

Preview Lab → · Contrast checker → · Palette generator →

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