#81176E#81176E

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

Color values

HEX#81176E
RGBrgb(129, 23, 110)
HSLhsl(311, 70%, 30%)
HSVhsv(311, 82%, 51%)
CMYKcmyk(0%, 82.2%, 14.7%, 49.4%)
CIE-LABlab(30.42, 51.97, -24.05)
CIE-LCHlch(30.42, 57.26, 335.17°)
OKLaboklab(42.23% 0.1532 -0.0655)
OKLCHoklch(42.23% 0.167 336.8)
XYZxyz(12.1744, 6.4069, 15.3443)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81176E #17812A
analogous
#5F1781 #81176E #811739
triadic
#81176E #6E8117 #176E81
tetradic
#81176E #815F17 #17812A #173981
square
#81176E #815F17 #17812A #173981
split-complementary
#81176E #398117 #17815F
monochromatic
#1A0516 #4D0E42 #81176E #B5209A #DB37BE

Accessibility & contrast

On white

9.21
#81176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81176E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81176E#FFFFFF#000000##FFFFFF
##81176E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D70
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#881F42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81176e;
/* rgb */ color: rgb(129, 23, 110);
/* oklch */ color: oklch(42.2% 0.167 336.8);
Tailwind
colors: {
  custom: {
    50: '#a96298',
    500: '#81176e',
    950: '#000000',
  },
}
SCSS
$custom: #81176e;
$custom-light: #a96298;
$custom-dark: #000000;
JSON
{
  "hex": "#81176e",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 310.755,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42234,
    "c": 0.16666,
    "h": 336.8
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#81176E
secondary
#3EB554
accent
#ED5B3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81176E

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

Preview Lab → · Contrast checker → · Palette generator →

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