#81186F#81186F

#81186F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.166 H 336.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#81186F
RGBrgb(129, 24, 111)
HSLhsl(310, 69%, 30%)
HSVhsv(310, 81%, 51%)
CMYKcmyk(0%, 81.4%, 14%, 49.4%)
CIE-LABlab(30.57, 51.84, -24.45)
CIE-LCHlch(30.57, 57.32, 334.75°)
OKLaboklab(42.36% 0.1525 -0.0667)
OKLCHoklch(42.36% 0.166 336.4)
XYZxyz(12.2494, 6.4693, 15.6394)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81186F #18812A
analogous
#5F1881 #81186F #81183A
triadic
#81186F #6F8118 #186F81
tetradic
#81186F #815F18 #18812A #183A81
square
#81186F #815F18 #18812A #183A81
split-complementary
#81186F #3A8118 #18815F
monochromatic
#1A0516 #4D0E43 #81186F #B5229B #DA39BF

Accessibility & contrast

On white

9.16
#81186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81186F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81186F#FFFFFF#000000##FFFFFF
##81186F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#414D6D
Tritanopia (blue-blind)
#882043
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81186f;
/* rgb */ color: rgb(129, 24, 111);
/* oklch */ color: oklch(42.4% 0.166 336.4);
Tailwind
colors: {
  custom: {
    50: '#a96398',
    500: '#81186f',
    950: '#000000',
  },
}
SCSS
$custom: #81186f;
$custom-light: #a96398;
$custom-dark: #000000;
JSON
{
  "hex": "#81186f",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 310.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.16643,
    "h": 336.4
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#81186F
secondary
#40B554
accent
#EB5A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #81186F

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

Preview Lab → · Contrast checker → · Palette generator →

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