#8A1371#8A1371

#8A1371 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.177 H 338.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8A1371
RGBrgb(138, 19, 113)
HSLhsl(313, 76%, 31%)
HSVhsv(313, 86%, 54%)
CMYKcmyk(0%, 86.2%, 18.1%, 45.9%)
CIE-LABlab(31.95, 55.45, -23.44)
CIE-LCHlch(31.95, 60.20, 337.08°)
OKLaboklab(43.7% 0.1652 -0.0636)
OKLCHoklch(43.7% 0.177 338.9)
XYZxyz(13.6951, 7.0627, 16.2616)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1371 #138A2C
analogous
#67138A #8A1371 #8A1335
triadic
#8A1371 #718A13 #13718A
tetradic
#8A1371 #8A6713 #138A2C #13358A
square
#8A1371 #8A6713 #138A2C #13358A
split-complementary
#8A1371 #358A13 #138A67
monochromatic
#1E0419 #540C45 #8A1371 #C01A9D #E334BE

Accessibility & contrast

On white

8.71
#8A1371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A1371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1371
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1371#FFFFFF#000000##FFFFFF
##8A13711.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1371;
/* rgb */ color: rgb(138, 19, 113);
/* oklch */ color: oklch(43.7% 0.177 338.9);
Tailwind
colors: {
  custom: {
    50: '#b0639a',
    500: '#8a1371',
    950: '#000000',
  },
}
SCSS
$custom: #8a1371;
$custom-light: #b0639a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1371",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 312.605,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.437,
    "c": 0.17703,
    "h": 338.9
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#8A1371
secondary
#3ABE56
accent
#F25D35
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1371

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

Preview Lab → · Contrast checker → · Palette generator →

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