#81186E#81186E

#81186E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.3% C 0.166 H 336.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#81186E
RGBrgb(129, 24, 110)
HSLhsl(311, 69%, 30%)
HSVhsv(311, 81%, 51%)
CMYKcmyk(0%, 81.4%, 14.7%, 49.4%)
CIE-LABlab(30.51, 51.69, -23.90)
CIE-LCHlch(30.51, 56.95, 335.19°)
OKLaboklab(42.3% 0.1524 -0.0651)
OKLCHoklch(42.3% 0.166 336.9)
XYZxyz(12.1946, 6.4474, 15.3511)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81186E #18812B
analogous
#5F1881 #81186E #81183A
triadic
#81186E #6E8118 #186E81
tetradic
#81186E #815F18 #18812B #183A81
square
#81186E #815F18 #18812B #183A81
split-complementary
#81186E #3A8118 #18815F
monochromatic
#1A0516 #4D0E42 #81186E #B5229A #DA39BD

Accessibility & contrast

On white

9.17
#81186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#81186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81186E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81186E#FFFFFF#000000##FFFFFF
##81186E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E70
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#882042
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81186e;
/* rgb */ color: rgb(129, 24, 110);
/* oklch */ color: oklch(42.3% 0.166 336.9);
Tailwind
colors: {
  custom: {
    50: '#a96398',
    500: '#81186e',
    950: '#000000',
  },
}
SCSS
$custom: #81186e;
$custom-light: #a96398;
$custom-dark: #000000;
JSON
{
  "hex": "#81186e",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 310.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.16572,
    "h": 336.9
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#81186E
secondary
#40B555
accent
#EB5C3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81186E

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

Preview Lab → · Contrast checker → · Palette generator →

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