#81174C#81174C

#81174C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.147 H 355.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#81174C
RGBrgb(129, 23, 76)
HSLhsl(330, 70%, 30%)
HSVhsv(330, 82%, 51%)
CMYKcmyk(0%, 82.2%, 41.1%, 49.4%)
CIE-LABlab(28.91, 47.58, -4.17)
CIE-LCHlch(28.91, 47.77, 355.00°)
OKLaboklab(40.65% 0.1464 -0.0104)
OKLCHoklch(40.65% 0.147 355.9)
XYZxyz(10.6649, 5.8031, 7.3946)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81174C #17814C
analogous
#811781 #81174C #811717
triadic
#81174C #4C8117 #174C81
tetradic
#81174C #818117 #17814C #171781
square
#81174C #818117 #17814C #171781
split-complementary
#81174C #178117 #178181
monochromatic
#1A050F #4D0E2D #81174C #B5206B #DB3789

Accessibility & contrast

On white

9.72
#81174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#81174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81174C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81174C#FFFFFF#000000##FFFFFF
##81174C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384D
Deuteranopia (green-blind)
#4C4B4A
Tritanopia (blue-blind)
#8C052F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #81174c;
/* rgb */ color: rgb(129, 23, 76);
/* oklch */ color: oklch(40.7% 0.147 355.9);
Tailwind
colors: {
  custom: {
    50: '#aa617e',
    500: '#81174c',
    950: '#000000',
  },
}
SCSS
$custom: #81174c;
$custom-light: #aa617e;
$custom-dark: #000000;
JSON
{
  "hex": "#81174c",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 330,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.14676,
    "h": 355.9
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#81174C
secondary
#3EB57A
accent
#ED943B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110509
muted
#807A7B

Preview Lab

Preview with #81174C

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

Preview Lab → · Contrast checker → · Palette generator →

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