#8A1471#8A1471

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

Color values

HEX#8A1471
RGBrgb(138, 20, 113)
HSLhsl(313, 75%, 31%)
HSVhsv(313, 86%, 54%)
CMYKcmyk(0%, 85.5%, 18.1%, 45.9%)
CIE-LABlab(32.03, 55.22, -23.32)
CIE-LCHlch(32.03, 59.95, 337.11°)
OKLaboklab(43.76% 0.1645 -0.0633)
OKLCHoklch(43.76% 0.176 339)
XYZxyz(13.7124, 7.0972, 16.2673)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1471 #148A2D
analogous
#68148A #8A1471 #8A1436
triadic
#8A1471 #718A14 #14718A
tetradic
#8A1471 #8A6814 #148A2D #14368A
square
#8A1471 #8A6814 #148A2D #14368A
split-complementary
#8A1471 #368A14 #148A68
monochromatic
#1F0519 #550C45 #8A1471 #BF1C9D #E236BE

Accessibility & contrast

On white

8.68
#8A1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1471
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1471#FFFFFF#000000##FFFFFF
##8A14711.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#46526E
Tritanopia (blue-blind)
#921B43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1471;
/* rgb */ color: rgb(138, 20, 113);
/* oklch */ color: oklch(43.8% 0.176 339.0);
Tailwind
colors: {
  custom: {
    50: '#b0639a',
    500: '#8a1471',
    950: '#000000',
  },
}
SCSS
$custom: #8a1471;
$custom-light: #b0639a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1471",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 312.712,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.17627,
    "h": 339
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#8A1471
secondary
#3CBE57
accent
#F15E36
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1471

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

Preview Lab → · Contrast checker → · Palette generator →

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