#81175C#81175C

#81175C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.155 H 346.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#81175C
RGBrgb(129, 23, 92)
HSLhsl(321, 70%, 30%)
HSVhsv(321, 82%, 51%)
CMYKcmyk(0%, 82.2%, 28.7%, 49.4%)
CIE-LABlab(29.55, 49.47, -13.75)
CIE-LCHlch(29.55, 51.35, 344.46°)
OKLaboklab(41.33% 0.1506 -0.0365)
OKLCHoklch(41.33% 0.155 346.4)
XYZxyz(11.2920, 6.0539, 10.6970)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81175C #17813C
analogous
#711781 #81175C #811727
triadic
#81175C #5C8117 #175C81
tetradic
#81175C #817117 #17813C #172781
square
#81175C #817117 #17813C #172781
split-complementary
#81175C #278117 #178171
monochromatic
#1A0513 #4D0E37 #81175C #B52081 #DB37A2

Accessibility & contrast

On white

9.50
#81175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#81175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81175C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81175C#FFFFFF#000000##FFFFFF
##81175C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#474C5A
Tritanopia (blue-blind)
#8A1338
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #81175c;
/* rgb */ color: rgb(129, 23, 92);
/* oklch */ color: oklch(41.3% 0.155 346.4);
Tailwind
colors: {
  custom: {
    50: '#aa628a',
    500: '#81175c',
    950: '#000000',
  },
}
SCSS
$custom: #81175c;
$custom-light: #aa628a;
$custom-dark: #000000;
JSON
{
  "hex": "#81175c",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 320.943,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.15497,
    "h": 346.4
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#81175C
secondary
#3EB568
accent
#ED793B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #81175C

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

Preview Lab → · Contrast checker → · Palette generator →

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