#81126E#81126E

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

Color values

HEX#81126E
RGBrgb(129, 18, 110)
HSLhsl(310, 76%, 29%)
HSVhsv(310, 86%, 51%)
CMYKcmyk(0%, 86%, 14.7%, 49.4%)
CIE-LABlab(29.98, 53.24, -24.74)
CIE-LCHlch(29.98, 58.71, 335.08°)
OKLaboklab(41.92% 0.157 -0.0675)
OKLCHoklch(41.92% 0.171 336.7)
XYZxyz(12.0843, 6.2267, 15.3143)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81126E #128125
analogous
#5D1281 #81126E #811237
triadic
#81126E #6E8112 #126E81
tetradic
#81126E #815D12 #128125 #123781
square
#81126E #815D12 #128125 #123781
split-complementary
#81126E #378112 #12815D
monochromatic
#1B0417 #4B0B40 #81126E #B7199C #E22CC2

Accessibility & contrast

On white

9.35
#81126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#81126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81126E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81126E#FFFFFF#000000##FFFFFF
##81126E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#881C41
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #81126e;
/* rgb */ color: rgb(129, 18, 110);
/* oklch */ color: oklch(41.9% 0.171 336.7);
Tailwind
colors: {
  custom: {
    50: '#a96198',
    500: '#81126e',
    950: '#000000',
  },
}
SCSS
$custom: #81126e;
$custom-light: #a96198;
$custom-dark: #000000;
JSON
{
  "hex": "#81126e",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 310.27,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.17092,
    "h": 336.7
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#81126E
secondary
#38B74E
accent
#F25636
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #81126E

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

Preview Lab → · Contrast checker → · Palette generator →

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