#81185F#81185F

#81185F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.156 H 344.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#81185F
RGBrgb(129, 24, 95)
HSLhsl(319, 69%, 30%)
HSVhsv(319, 81%, 51%)
CMYKcmyk(0%, 81.4%, 26.4%, 49.4%)
CIE-LABlab(29.78, 49.57, -15.35)
CIE-LCHlch(29.78, 51.90, 342.79°)
OKLaboklab(41.54% 0.1503 -0.0409)
OKLCHoklch(41.54% 0.156 344.8)
XYZxyz(11.4460, 6.1479, 11.4081)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81185F #18813A
analogous
#6F1881 #81185F #81182A
triadic
#81185F #5F8118 #185F81
tetradic
#81185F #816F18 #18813A #182A81
square
#81185F #816F18 #18813A #182A81
split-complementary
#81185F #2A8118 #18816F
monochromatic
#1A0513 #4D0E39 #81185F #B52285 #DA39A6

Accessibility & contrast

On white

9.42
#81185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#81185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81185F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81185F#FFFFFF#000000##FFFFFF
##81185F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#474C5D
Tritanopia (blue-blind)
#8A163A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81185f;
/* rgb */ color: rgb(129, 24, 95);
/* oklch */ color: oklch(41.5% 0.156 344.8);
Tailwind
colors: {
  custom: {
    50: '#a9628c',
    500: '#81185f',
    950: '#000000',
  },
}
SCSS
$custom: #81185f;
$custom-light: #a9628c;
$custom-dark: #000000;
JSON
{
  "hex": "#81185f",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 319.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.15579,
    "h": 344.8
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#81185F
secondary
#40B566
accent
#EB753C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81185F

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

Preview Lab → · Contrast checker → · Palette generator →

#81185F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva