#81166D#81166D

#81166D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 42.1% C 0.167 H 337.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#81166D
RGBrgb(129, 22, 109)
HSLhsl(311, 71%, 30%)
HSVhsv(311, 83%, 51%)
CMYKcmyk(0%, 82.9%, 15.5%, 49.4%)
CIE-LABlab(30.27, 52.09, -23.64)
CIE-LCHlch(30.27, 57.21, 335.59°)
OKLaboklab(42.11% 0.154 -0.0644)
OKLCHoklch(42.11% 0.167 337.3)
XYZxyz(12.1008, 6.3463, 15.0527)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81166D #16812A
analogous
#601681 #81166D #811638
triadic
#81166D #6D8116 #166D81
tetradic
#81166D #816016 #16812A #163881
square
#81166D #816016 #16812A #163881
split-complementary
#81166D #388116 #168160
monochromatic
#1A0416 #4D0D41 #81166D #B51F99 #DD35BD

Accessibility & contrast

On white

9.26
#81166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#81166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81166D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81166D#FFFFFF#000000##FFFFFF
##81166D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3D6F
Deuteranopia (green-blind)
#414D6B
Tritanopia (blue-blind)
#881E41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81166d;
/* rgb */ color: rgb(129, 22, 109);
/* oklch */ color: oklch(42.1% 0.167 337.3);
Tailwind
colors: {
  custom: {
    50: '#a96297',
    500: '#81166d',
    950: '#000000',
  },
}
SCSS
$custom: #81166d;
$custom-light: #a96297;
$custom-dark: #000000;
JSON
{
  "hex": "#81166d",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 311.215,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.16687,
    "h": 337.3
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#81166D
secondary
#3DB654
accent
#EE5C3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81166D

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

Preview Lab → · Contrast checker → · Palette generator →

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