#81156E#81156E

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

Color values

HEX#81156E
RGBrgb(129, 21, 110)
HSLhsl(311, 72%, 29%)
HSVhsv(311, 84%, 51%)
CMYKcmyk(0%, 83.7%, 14.7%, 49.4%)
CIE-LABlab(30.23, 52.51, -24.34)
CIE-LCHlch(30.23, 57.87, 335.13°)
OKLaboklab(42.1% 0.1548 -0.0664)
OKLCHoklch(42.1% 0.168 336.8)
XYZxyz(12.1361, 6.3304, 15.3316)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81156E #158128
analogous
#5E1581 #81156E #811538
triadic
#81156E #6E8115 #156E81
tetradic
#81156E #815E15 #158128 #153881
square
#81156E #815E15 #158128 #153881
split-complementary
#81156E #388115 #15815E
monochromatic
#1A0416 #4C0C41 #81156E #B61E9B #DE33C0

Accessibility & contrast

On white

9.27
#81156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81156E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81156E#FFFFFF#000000##FFFFFF
##81156E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81156e;
/* rgb */ color: rgb(129, 21, 110);
/* oklch */ color: oklch(42.1% 0.168 336.8);
Tailwind
colors: {
  custom: {
    50: '#a96298',
    500: '#81156e',
    950: '#000000',
  },
}
SCSS
$custom: #81156e;
$custom-light: #a96298;
$custom-dark: #000000;
JSON
{
  "hex": "#81156e",
  "rgb": {
    "r": 129,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 310.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.16846,
    "h": 336.8
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#81156E
secondary
#3CB651
accent
#EF5939
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81156E

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

Preview Lab → · Contrast checker → · Palette generator →

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