#81156F#81156F

#81156F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.2% C 0.169 H 336.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#81156F
RGBrgb(129, 21, 111)
HSLhsl(310, 72%, 29%)
HSVhsv(310, 84%, 51%)
CMYKcmyk(0%, 83.7%, 14%, 49.4%)
CIE-LABlab(30.28, 52.65, -24.90)
CIE-LCHlch(30.28, 58.24, 334.69°)
OKLaboklab(42.16% 0.1549 -0.068)
OKLCHoklch(42.16% 0.169 336.3)
XYZxyz(12.1909, 6.3523, 15.6199)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81156F #158127
analogous
#5D1581 #81156F #811539
triadic
#81156F #6F8115 #156F81
tetradic
#81156F #815D15 #158127 #153981
square
#81156F #815D15 #158127 #153981
split-complementary
#81156F #398115 #15815D
monochromatic
#1A0417 #4C0C42 #81156F #B61E9C #DE33C1

Accessibility & contrast

On white

9.25
#81156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81156F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81156F#FFFFFF#000000##FFFFFF
##81156F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#881E42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81156f;
/* rgb */ color: rgb(129, 21, 111);
/* oklch */ color: oklch(42.2% 0.169 336.3);
Tailwind
colors: {
  custom: {
    50: '#a96298',
    500: '#81156f',
    950: '#000000',
  },
}
SCSS
$custom: #81156f;
$custom-light: #a96298;
$custom-dark: #000000;
JSON
{
  "hex": "#81156f",
  "rgb": {
    "r": 129,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 310,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.16916,
    "h": 336.3
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#81156F
secondary
#3CB650
accent
#EF5739
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #81156F

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

Preview Lab → · Contrast checker → · Palette generator →

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