#8A1571#8A1571

#8A1571 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.8% C 0.175 H 339.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8A1571
RGBrgb(138, 21, 113)
HSLhsl(313, 74%, 31%)
HSVhsv(313, 85%, 54%)
CMYKcmyk(0%, 84.8%, 18.1%, 45.9%)
CIE-LABlab(32.11, 54.99, -23.19)
CIE-LCHlch(32.11, 59.68, 337.13°)
OKLaboklab(43.81% 0.1638 -0.0629)
OKLCHoklch(43.81% 0.175 339)
XYZxyz(13.7304, 7.1333, 16.2733)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1571 #158A2E
analogous
#68158A #8A1571 #8A1536
triadic
#8A1571 #718A15 #15718A
tetradic
#8A1571 #8A6815 #158A2E #15368A
square
#8A1571 #8A6815 #158A2E #15368A
split-complementary
#8A1571 #368A15 #158A68
monochromatic
#20051A #550D46 #8A1571 #BF1D9C #E139BD

Accessibility & contrast

On white

8.65
#8A1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1571
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1571#FFFFFF#000000##FFFFFF
##8A15711.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#47526E
Tritanopia (blue-blind)
#921C43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1571;
/* rgb */ color: rgb(138, 21, 113);
/* oklch */ color: oklch(43.8% 0.175 339.0);
Tailwind
colors: {
  custom: {
    50: '#b0639a',
    500: '#8a1571',
    950: '#000000',
  },
}
SCSS
$custom: #8a1571;
$custom-light: #b0639a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1571",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 312.821,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43814,
    "c": 0.17547,
    "h": 339
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#8A1571
secondary
#3DBE58
accent
#F05F38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1571

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

Preview Lab → · Contrast checker → · Palette generator →

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