#81126C#81126C

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

Color values

HEX#81126C
RGBrgb(129, 18, 108)
HSLhsl(311, 76%, 29%)
HSVhsv(311, 86%, 51%)
CMYKcmyk(0%, 86%, 16.3%, 49.4%)
CIE-LABlab(29.87, 52.95, -23.62)
CIE-LCHlch(29.87, 57.98, 335.96°)
OKLaboklab(41.81% 0.1569 -0.0643)
OKLCHoklch(41.81% 0.17 337.7)
XYZxyz(11.9766, 6.1836, 14.7473)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81126C #128127
analogous
#5F1281 #81126C #811235
triadic
#81126C #6C8112 #126C81
tetradic
#81126C #815F12 #128127 #123581
square
#81126C #815F12 #128127 #123581
split-complementary
#81126C #358112 #12815F
monochromatic
#1B0416 #4B0B3F #81126C #B71999 #E22CBF

Accessibility & contrast

On white

9.39
#81126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81126C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81126C#FFFFFF#000000##FFFFFF
##81126C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#404C6A
Tritanopia (blue-blind)
#891A40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81126c;
/* rgb */ color: rgb(129, 18, 108);
/* oklch */ color: oklch(41.8% 0.170 337.7);
Tailwind
colors: {
  custom: {
    50: '#a96196',
    500: '#81126c',
    950: '#000000',
  },
}
SCSS
$custom: #81126c;
$custom-light: #a96196;
$custom-dark: #000000;
JSON
{
  "hex": "#81126c",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 311.351,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41809,
    "c": 0.16955,
    "h": 337.7
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#81126C
secondary
#38B750
accent
#F25936
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81126C

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

Preview Lab → · Contrast checker → · Palette generator →

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