#81126A#81126A

#81126A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.7% C 0.168 H 338.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#81126A
RGBrgb(129, 18, 106)
HSLhsl(312, 76%, 29%)
HSVhsv(312, 86%, 51%)
CMYKcmyk(0%, 86%, 17.8%, 49.4%)
CIE-LABlab(29.77, 52.66, -22.50)
CIE-LCHlch(29.77, 57.27, 336.87°)
OKLaboklab(41.7% 0.1567 -0.0611)
OKLCHoklch(41.7% 0.168 338.7)
XYZxyz(11.8714, 6.1416, 14.1931)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81126A #128129
analogous
#611281 #81126A #811233
triadic
#81126A #6A8112 #126A81
tetradic
#81126A #816112 #128129 #123381
square
#81126A #816112 #128129 #123381
split-complementary
#81126A #338112 #128161
monochromatic
#1B0416 #4B0B3E #81126A #B71996 #E22CBC

Accessibility & contrast

On white

9.43
#81126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#81126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81126A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81126A#FFFFFF#000000##FFFFFF
##81126A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#414C68
Tritanopia (blue-blind)
#89193F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81126a;
/* rgb */ color: rgb(129, 18, 106);
/* oklch */ color: oklch(41.7% 0.168 338.7);
Tailwind
colors: {
  custom: {
    50: '#a96195',
    500: '#81126a',
    950: '#000000',
  },
}
SCSS
$custom: #81126a;
$custom-light: #a96195;
$custom-dark: #000000;
JSON
{
  "hex": "#81126a",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 312.432,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.417,
    "c": 0.1682,
    "h": 338.7
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#81126A
secondary
#38B752
accent
#F25D36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81126A

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

Preview Lab → · Contrast checker → · Palette generator →

#81126A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva