#81186C#81186C

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

Color values

HEX#81186C
RGBrgb(129, 24, 108)
HSLhsl(312, 69%, 30%)
HSVhsv(312, 81%, 51%)
CMYKcmyk(0%, 81.4%, 16.3%, 49.4%)
CIE-LABlab(30.41, 51.39, -22.78)
CIE-LCHlch(30.41, 56.21, 336.10°)
OKLaboklab(42.2% 0.1522 -0.0619)
OKLCHoklch(42.2% 0.164 337.9)
XYZxyz(12.0869, 6.4043, 14.7840)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81186C #18812D
analogous
#611881 #81186C #811838
triadic
#81186C #6C8118 #186C81
tetradic
#81186C #816118 #18812D #183881
square
#81186C #816118 #18812D #183881
split-complementary
#81186C #388118 #188161
monochromatic
#1A0516 #4D0E41 #81186C #B52297 #DA39BA

Accessibility & contrast

On white

9.21
#81186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#81186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81186C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81186C#FFFFFF#000000##FFFFFF
##81186C1.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)
#1D3D6E
Deuteranopia (green-blind)
#424D6A
Tritanopia (blue-blind)
#881F41
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81186c;
/* rgb */ color: rgb(129, 24, 108);
/* oklch */ color: oklch(42.2% 0.164 337.9);
Tailwind
colors: {
  custom: {
    50: '#a96396',
    500: '#81186c',
    950: '#000000',
  },
}
SCSS
$custom: #81186c;
$custom-light: #a96396;
$custom-dark: #000000;
JSON
{
  "hex": "#81186c",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 312,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.16431,
    "h": 337.9
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#81186C
secondary
#40B557
accent
#EB5F3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81186C

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

Preview Lab → · Contrast checker → · Palette generator →

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