#81126B#81126B

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

Color values

HEX#81126B
RGBrgb(129, 18, 107)
HSLhsl(312, 76%, 29%)
HSVhsv(312, 86%, 51%)
CMYKcmyk(0%, 86%, 17.1%, 49.4%)
CIE-LABlab(29.82, 52.81, -23.06)
CIE-LCHlch(29.82, 57.62, 336.41°)
OKLaboklab(41.75% 0.1568 -0.0627)
OKLCHoklch(41.75% 0.169 338.2)
XYZxyz(11.9237, 6.1625, 14.4686)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81126B #128128
analogous
#601281 #81126B #811234
triadic
#81126B #6B8112 #126B81
tetradic
#81126B #816012 #128128 #123481
square
#81126B #816012 #128128 #123481
split-complementary
#81126B #348112 #128160
monochromatic
#1B0416 #4B0B3E #81126B #B71998 #E22CBE

Accessibility & contrast

On white

9.41
#81126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81126B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81126B#FFFFFF#000000##FFFFFF
##81126B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6D
Deuteranopia (green-blind)
#414C69
Tritanopia (blue-blind)
#891A3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81126b;
/* rgb */ color: rgb(129, 18, 107);
/* oklch */ color: oklch(41.8% 0.169 338.2);
Tailwind
colors: {
  custom: {
    50: '#a96195',
    500: '#81126b',
    950: '#000000',
  },
}
SCSS
$custom: #81126b;
$custom-light: #a96195;
$custom-dark: #000000;
JSON
{
  "hex": "#81126b",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 311.892,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41754,
    "c": 0.16888,
    "h": 338.2
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#81126B
secondary
#38B751
accent
#F25B36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81126B

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

Preview Lab → · Contrast checker → · Palette generator →

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