#81175F#81175F

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

Color values

HEX#81175F
RGBrgb(129, 23, 95)
HSLhsl(319, 70%, 30%)
HSVhsv(319, 82%, 51%)
CMYKcmyk(0%, 82.2%, 26.4%, 49.4%)
CIE-LABlab(29.68, 49.86, -15.51)
CIE-LCHlch(29.68, 52.22, 342.73°)
OKLaboklab(41.47% 0.1512 -0.0413)
OKLCHoklch(41.47% 0.157 344.7)
XYZxyz(11.4257, 6.1074, 11.4014)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81175F #178139
analogous
#6E1781 #81175F #81172A
triadic
#81175F #5F8117 #175F81
tetradic
#81175F #816E17 #178139 #172A81
square
#81175F #816E17 #178139 #172A81
split-complementary
#81175F #2A8117 #17816E
monochromatic
#1A0513 #4D0E39 #81175F #B52085 #DB37A7

Accessibility & contrast

On white

9.45
#81175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81175F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81175F#FFFFFF#000000##FFFFFF
##81175F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81175f;
/* rgb */ color: rgb(129, 23, 95);
/* oklch */ color: oklch(41.5% 0.157 344.7);
Tailwind
colors: {
  custom: {
    50: '#a9628c',
    500: '#81175f',
    950: '#000000',
  },
}
SCSS
$custom: #81175f;
$custom-light: #a9628c;
$custom-dark: #000000;
JSON
{
  "hex": "#81175f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 319.245,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.15676,
    "h": 344.7
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#81175F
secondary
#3EB565
accent
#ED743B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81175F

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

Preview Lab → · Contrast checker → · Palette generator →

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