#81176F#81176F

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

Color values

HEX#81176F
RGBrgb(129, 23, 111)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 82%, 51%)
CMYKcmyk(0%, 82.2%, 14%, 49.4%)
CIE-LABlab(30.47, 52.12, -24.61)
CIE-LCHlch(30.47, 57.64, 334.73°)
OKLaboklab(42.29% 0.1533 -0.0671)
OKLCHoklch(42.29% 0.167 336.3)
XYZxyz(12.2291, 6.4288, 15.6327)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81176F #178129
analogous
#5E1781 #81176F #81173A
triadic
#81176F #6F8117 #176F81
tetradic
#81176F #815E17 #178129 #173A81
square
#81176F #815E17 #178129 #173A81
split-complementary
#81176F #3A8117 #17815E
monochromatic
#1A0516 #4D0E42 #81176F #B5209C #DB37BF

Accessibility & contrast

On white

9.19
#81176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#81176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81176F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81176F#FFFFFF#000000##FFFFFF
##81176F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#882042
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81176f;
/* rgb */ color: rgb(129, 23, 111);
/* oklch */ color: oklch(42.3% 0.167 336.3);
Tailwind
colors: {
  custom: {
    50: '#a96298',
    500: '#81176f',
    950: '#000000',
  },
}
SCSS
$custom: #81176f;
$custom-light: #a96298;
$custom-dark: #000000;
JSON
{
  "hex": "#81176f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 310.189,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.16737,
    "h": 336.3
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#81176F
secondary
#3EB553
accent
#ED593B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #81176F

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

Preview Lab → · Contrast checker → · Palette generator →

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