#81175A#81175A

#81175A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.154 H 347.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#81175A
RGBrgb(129, 23, 90)
HSLhsl(322, 70%, 30%)
HSVhsv(322, 82%, 51%)
CMYKcmyk(0%, 82.2%, 30.2%, 49.4%)
CIE-LABlab(29.46, 49.22, -12.58)
CIE-LCHlch(29.46, 50.80, 345.66°)
OKLaboklab(41.23% 0.1502 -0.0332)
OKLCHoklch(41.23% 0.154 347.5)
XYZxyz(11.2057, 6.0194, 10.2426)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81175A #17813E
analogous
#731781 #81175A #811725
triadic
#81175A #5A8117 #175A81
tetradic
#81175A #817317 #17813E #172581
square
#81175A #817317 #17813E #172581
split-complementary
#81175A #258117 #178173
monochromatic
#1A0512 #4D0E36 #81175A #B5207E #DB379F

Accessibility & contrast

On white

9.53
#81175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#81175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81175A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81175A#FFFFFF#000000##FFFFFF
##81175A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#484C58
Tritanopia (blue-blind)
#8B1237
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #81175a;
/* rgb */ color: rgb(129, 23, 90);
/* oklch */ color: oklch(41.2% 0.154 347.5);
Tailwind
colors: {
  custom: {
    50: '#aa6288',
    500: '#81175a',
    950: '#000000',
  },
}
SCSS
$custom: #81175a;
$custom-light: #aa6288;
$custom-dark: #000000;
JSON
{
  "hex": "#81175a",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 322.075,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.1538,
    "h": 347.5
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#81175A
secondary
#3EB56A
accent
#ED7C3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #81175A

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

Preview Lab → · Contrast checker → · Palette generator →

#81175A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva