#8A1C71#8A1C71

#8A1C71 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.169 H 339.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A1C71
RGBrgb(138, 28, 113)
HSLhsl(314, 66%, 33%)
HSVhsv(314, 80%, 54%)
CMYKcmyk(0%, 79.7%, 18.1%, 45.9%)
CIE-LABlab(32.76, 53.11, -22.17)
CIE-LCHlch(32.76, 57.55, 337.34°)
OKLaboklab(44.28% 0.1581 -0.0601)
OKLCHoklch(44.28% 0.169 339.2)
XYZxyz(13.8775, 7.4274, 16.3224)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C71 #1C8A35
analogous
#6C1C8A #8A1C71 #8A1C3A
triadic
#8A1C71 #718A1C #1C718A
tetradic
#8A1C71 #8A6C1C #1C8A35 #1C3A8A
square
#8A1C71 #8A6C1C #1C8A35 #1C3A8A
split-complementary
#8A1C71 #3A8A1C #1C8A6C
monochromatic
#24071E #571247 #8A1C71 #BD269B #DA47B8

Accessibility & contrast

On white

8.45
#8A1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C71
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C71#FFFFFF#000000##FFFFFF
##8A1C711.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#922145
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c71;
/* rgb */ color: rgb(138, 28, 113);
/* oklch */ color: oklch(44.3% 0.169 339.2);
Tailwind
colors: {
  custom: {
    50: '#b0669a',
    500: '#8a1c71',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c71;
$custom-light: #b0669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c71",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 313.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.16914,
    "h": 339.2
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#8A1C71
secondary
#46BB61
accent
#E9653F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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