#81186D#81186D

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

Color values

HEX#81186D
RGBrgb(129, 24, 109)
HSLhsl(311, 69%, 30%)
HSVhsv(311, 81%, 51%)
CMYKcmyk(0%, 81.4%, 15.5%, 49.4%)
CIE-LABlab(30.46, 51.54, -23.34)
CIE-LCHlch(30.46, 56.58, 335.64°)
OKLaboklab(42.25% 0.1523 -0.0635)
OKLCHoklch(42.25% 0.165 337.4)
XYZxyz(12.1405, 6.4257, 15.0659)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81186D #18812C
analogous
#611881 #81186D #811838
triadic
#81186D #6D8118 #186D81
tetradic
#81186D #816118 #18812C #183881
square
#81186D #816118 #18812C #183881
split-complementary
#81186D #388118 #188161
monochromatic
#1A0516 #4D0E41 #81186D #B52299 #DA39BC

Accessibility & contrast

On white

9.19
#81186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81186D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81186D#FFFFFF#000000##FFFFFF
##81186D1.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)
#1C3E6F
Deuteranopia (green-blind)
#414D6B
Tritanopia (blue-blind)
#881F42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81186d;
/* rgb */ color: rgb(129, 24, 109);
/* oklch */ color: oklch(42.2% 0.165 337.4);
Tailwind
colors: {
  custom: {
    50: '#a96397',
    500: '#81186d',
    950: '#000000',
  },
}
SCSS
$custom: #81186d;
$custom-light: #a96397;
$custom-dark: #000000;
JSON
{
  "hex": "#81186d",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 311.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.16502,
    "h": 337.4
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#81186D
secondary
#40B556
accent
#EB5E3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81186D

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

Preview Lab → · Contrast checker → · Palette generator →

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