#81126D#81126D

#81126D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.9% C 0.170 H 337.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#81126D
RGBrgb(129, 18, 109)
HSLhsl(311, 76%, 29%)
HSVhsv(311, 86%, 51%)
CMYKcmyk(0%, 86%, 15.5%, 49.4%)
CIE-LABlab(29.92, 53.09, -24.18)
CIE-LCHlch(29.92, 58.34, 335.51°)
OKLaboklab(41.86% 0.157 -0.0659)
OKLCHoklch(41.86% 0.17 337.2)
XYZxyz(12.0302, 6.2051, 15.0292)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81126D #128126
analogous
#5E1281 #81126D #811236
triadic
#81126D #6D8112 #126D81
tetradic
#81126D #815E12 #128126 #123681
square
#81126D #815E12 #128126 #123681
split-complementary
#81126D #368112 #12815E
monochromatic
#1B0417 #4B0B40 #81126D #B7199A #E22CC1

Accessibility & contrast

On white

9.37
#81126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#81126D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81126D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81126D#FFFFFF#000000##FFFFFF
##81126D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C6F
Deuteranopia (green-blind)
#404C6B
Tritanopia (blue-blind)
#881B40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81126d;
/* rgb */ color: rgb(129, 18, 109);
/* oklch */ color: oklch(41.9% 0.170 337.2);
Tailwind
colors: {
  custom: {
    50: '#a96197',
    500: '#81126d',
    950: '#000000',
  },
}
SCSS
$custom: #81126d;
$custom-light: #a96197;
$custom-dark: #000000;
JSON
{
  "hex": "#81126d",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 310.811,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.17024,
    "h": 337.2
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#81126D
secondary
#38B74F
accent
#F25836
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81126D

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

Preview Lab → · Contrast checker → · Palette generator →

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