#81166E#81166E

#81166E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.2% C 0.168 H 336.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#81166E
RGBrgb(129, 22, 110)
HSLhsl(311, 71%, 30%)
HSVhsv(311, 83%, 51%)
CMYKcmyk(0%, 82.9%, 14.7%, 49.4%)
CIE-LABlab(30.32, 52.24, -24.20)
CIE-LCHlch(30.32, 57.57, 335.15°)
OKLaboklab(42.17% 0.154 -0.066)
OKLCHoklch(42.17% 0.168 336.8)
XYZxyz(12.1549, 6.3679, 15.3378)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81166E #168129
analogous
#5F1681 #81166E #811639
triadic
#81166E #6E8116 #166E81
tetradic
#81166E #815F16 #168129 #163981
square
#81166E #815F16 #168129 #163981
split-complementary
#81166E #398116 #16815F
monochromatic
#1A0416 #4D0D41 #81166E #B51F9B #DD35BF

Accessibility & contrast

On white

9.24
#81166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81166E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81166E#FFFFFF#000000##FFFFFF
##81166E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#881E42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81166e;
/* rgb */ color: rgb(129, 22, 110);
/* oklch */ color: oklch(42.2% 0.168 336.8);
Tailwind
colors: {
  custom: {
    50: '#a96298',
    500: '#81166e',
    950: '#000000',
  },
}
SCSS
$custom: #81166e;
$custom-light: #a96298;
$custom-dark: #000000;
JSON
{
  "hex": "#81166e",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 310.654,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42166,
    "c": 0.16757,
    "h": 336.8
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#81166E
secondary
#3DB653
accent
#EE5A3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81166E

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

Preview Lab → · Contrast checker → · Palette generator →

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