#81174F#81174F

#81174F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.148 H 354.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#81174F
RGBrgb(129, 23, 79)
HSLhsl(328, 70%, 30%)
HSVhsv(328, 82%, 51%)
CMYKcmyk(0%, 82.2%, 38.8%, 49.4%)
CIE-LABlab(29.02, 47.91, -5.99)
CIE-LCHlch(29.02, 48.29, 352.87°)
OKLaboklab(40.77% 0.1473 -0.0152)
OKLCHoklch(40.77% 0.148 354.1)
XYZxyz(10.7717, 5.8458, 7.9567)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81174F #178149
analogous
#7E1781 #81174F #81171A
triadic
#81174F #4F8117 #174F81
tetradic
#81174F #817E17 #178149 #171A81
square
#81174F #817E17 #178149 #171A81
split-complementary
#81174F #1A8117 #17817E
monochromatic
#1A0510 #4D0E2F #81174F #B5206F #DB378E

Accessibility & contrast

On white

9.68
#81174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#81174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81174F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81174F#FFFFFF#000000##FFFFFF
##81174F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#4B4B4D
Tritanopia (blue-blind)
#8C0831
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #81174f;
/* rgb */ color: rgb(129, 23, 79);
/* oklch */ color: oklch(40.8% 0.148 354.1);
Tailwind
colors: {
  custom: {
    50: '#aa6180',
    500: '#81174f',
    950: '#000000',
  },
}
SCSS
$custom: #81174f;
$custom-light: #aa6180;
$custom-dark: #000000;
JSON
{
  "hex": "#81174f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 328.302,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.1481,
    "h": 354.1
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#81174F
secondary
#3EB577
accent
#ED8F3B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #81174F

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

Preview Lab → · Contrast checker → · Palette generator →

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