#81176C#81176C

#81176C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.165 H 337.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#81176C
RGBrgb(129, 23, 108)
HSLhsl(312, 70%, 30%)
HSVhsv(312, 82%, 51%)
CMYKcmyk(0%, 82.2%, 16.3%, 49.4%)
CIE-LABlab(30.31, 51.67, -22.93)
CIE-LCHlch(30.31, 56.53, 336.07°)
OKLaboklab(42.13% 0.1531 -0.0623)
OKLCHoklch(42.13% 0.165 337.8)
XYZxyz(12.0667, 6.3638, 14.7773)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81176C #17812C
analogous
#611781 #81176C #811737
triadic
#81176C #6C8117 #176C81
tetradic
#81176C #816117 #17812C #173781
square
#81176C #816117 #17812C #173781
split-complementary
#81176C #378117 #178161
monochromatic
#1A0516 #4D0E41 #81176C #B52097 #DB37BB

Accessibility & contrast

On white

9.24
#81176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#81176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81176C
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81176C#FFFFFF#000000##FFFFFF
##81176C1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#424D6A
Tritanopia (blue-blind)
#881E41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81176c;
/* rgb */ color: rgb(129, 23, 108);
/* oklch */ color: oklch(42.1% 0.165 337.8);
Tailwind
colors: {
  custom: {
    50: '#a96296',
    500: '#81176c',
    950: '#000000',
  },
}
SCSS
$custom: #81176c;
$custom-light: #a96296;
$custom-dark: #000000;
JSON
{
  "hex": "#81176c",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 311.887,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.16526,
    "h": 337.8
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#81176C
secondary
#3EB556
accent
#ED5E3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81176C

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

Preview Lab → · Contrast checker → · Palette generator →

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