#81174B#81174B

#81174B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.146 H 356.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#81174B
RGBrgb(129, 23, 75)
HSLhsl(331, 70%, 30%)
HSVhsv(331, 82%, 51%)
CMYKcmyk(0%, 82.2%, 41.9%, 49.4%)
CIE-LABlab(28.87, 47.48, -3.55)
CIE-LCHlch(28.87, 47.61, 355.72°)
OKLaboklab(40.62% 0.1461 -0.0088)
OKLCHoklch(40.62% 0.146 356.6)
XYZxyz(10.6304, 5.7893, 7.2129)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81174B #17814D
analogous
#811780 #81174B #811817
triadic
#81174B #4B8117 #174B81
tetradic
#81174B #808117 #17814D #181781
square
#81174B #808117 #17814D #181781
split-complementary
#81174B #178118 #178081
monochromatic
#1A050F #4D0E2D #81174B #B52069 #DB3788

Accessibility & contrast

On white

9.73
#81174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81174B
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81174B#FFFFFF#000000##FFFFFF
##81174B1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#8C042F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #81174b;
/* rgb */ color: rgb(129, 23, 75);
/* oklch */ color: oklch(40.6% 0.146 356.6);
Tailwind
colors: {
  custom: {
    50: '#aa617d',
    500: '#81174b',
    950: '#000000',
  },
}
SCSS
$custom: #81174b;
$custom-light: #aa617d;
$custom-dark: #000000;
JSON
{
  "hex": "#81174b",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 330.566,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.14633,
    "h": 356.6
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#81174B
secondary
#3EB57B
accent
#ED963B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110509
muted
#807A7B

Preview Lab

Preview with #81174B

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

Preview Lab → · Contrast checker → · Palette generator →

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