#8C1A71#8C1A71

#8C1A71 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.172 H 339.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8C1A71
RGBrgb(140, 26, 113)
HSLhsl(314, 69%, 33%)
HSVhsv(314, 81%, 55%)
CMYKcmyk(0%, 81.4%, 19.3%, 45.1%)
CIE-LABlab(32.94, 54.16, -21.87)
CIE-LCHlch(32.94, 58.41, 338.01°)
OKLaboklab(44.48% 0.1618 -0.0591)
OKLCHoklch(44.48% 0.172 339.9)
XYZxyz(14.1657, 7.5079, 16.3227)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1A71 #1A8C35
analogous
#6E1A8C #8C1A71 #8C1A38
triadic
#8C1A71 #718C1A #1A718C
tetradic
#8C1A71 #8C6E1A #1A8C35 #1A388C
square
#8C1A71 #8C6E1A #1A8C35 #1A388C
split-complementary
#8C1A71 #388C1A #1A8C6E
monochromatic
#25071E #581047 #8C1A71 #C0249B #DC44B8

Accessibility & contrast

On white

8.40
#8C1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8C1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1A71
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1A71#FFFFFF#000000##FFFFFF
##8C1A711.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#951F44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c1a71;
/* rgb */ color: rgb(140, 26, 113);
/* oklch */ color: oklch(44.5% 0.172 339.9);
Tailwind
colors: {
  custom: {
    50: '#b1659a',
    500: '#8c1a71',
    950: '#000000',
  },
}
SCSS
$custom: #8c1a71;
$custom-light: #b1659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1a71",
  "rgb": {
    "r": 140,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 314.211,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.17227,
    "h": 339.9
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#8C1A71
secondary
#44BE61
accent
#EC663C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8C1A71

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

Preview Lab → · Contrast checker → · Palette generator →

#8C1A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva