#81175E#81175E

#81175E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.156 H 345.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#81175E
RGBrgb(129, 23, 94)
HSLhsl(320, 70%, 30%)
HSVhsv(320, 82%, 51%)
CMYKcmyk(0%, 82.2%, 27.1%, 49.4%)
CIE-LABlab(29.64, 49.73, -14.92)
CIE-LCHlch(29.64, 51.92, 343.30°)
OKLaboklab(41.42% 0.151 -0.0397)
OKLCHoklch(41.42% 0.156 345.3)
XYZxyz(11.3806, 6.0894, 11.1635)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81175E #17813A
analogous
#6F1781 #81175E #811729
triadic
#81175E #5E8117 #175E81
tetradic
#81175E #816F17 #17813A #172981
square
#81175E #816F17 #17813A #172981
split-complementary
#81175E #298117 #17816F
monochromatic
#1A0513 #4D0E38 #81175E #B52084 #DB37A5

Accessibility & contrast

On white

9.47
#81175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#81175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81175E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81175E#FFFFFF#000000##FFFFFF
##81175E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#8A1539
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81175e;
/* rgb */ color: rgb(129, 23, 94);
/* oklch */ color: oklch(41.4% 0.156 345.3);
Tailwind
colors: {
  custom: {
    50: '#aa628b',
    500: '#81175e',
    950: '#000000',
  },
}
SCSS
$custom: #81175e;
$custom-light: #aa628b;
$custom-dark: #000000;
JSON
{
  "hex": "#81175e",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 319.811,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41418,
    "c": 0.15615,
    "h": 345.3
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#81175E
secondary
#3EB566
accent
#ED763B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81175E

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

Preview Lab → · Contrast checker → · Palette generator →

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