#8A1D71#8A1D71

#8A1D71 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.168 H 339.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8A1D71
RGBrgb(138, 29, 113)
HSLhsl(314, 65%, 33%)
HSVhsv(314, 79%, 54%)
CMYKcmyk(0%, 79%, 18.1%, 45.9%)
CIE-LABlab(32.87, 52.81, -22.01)
CIE-LCHlch(32.87, 57.21, 337.37°)
OKLaboklab(44.36% 0.1572 -0.0596)
OKLCHoklch(44.36% 0.168 339.2)
XYZxyz(13.9016, 7.4756, 16.3304)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D71 #1D8A36
analogous
#6C1D8A #8A1D71 #8A1D3B
triadic
#8A1D71 #718A1D #1D718A
tetradic
#8A1D71 #8A6C1D #1D8A36 #1D3B8A
square
#8A1D71 #8A6C1D #1D8A36 #1D3B8A
split-complementary
#8A1D71 #3B8A1D #1D8A6C
monochromatic
#25081E #571248 #8A1D71 #BD289A #D949B8

Accessibility & contrast

On white

8.42
#8A1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D71
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D71#FFFFFF#000000##FFFFFF
##8A1D711.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#922245
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1d71;
/* rgb */ color: rgb(138, 29, 113);
/* oklch */ color: oklch(44.4% 0.168 339.2);
Tailwind
colors: {
  custom: {
    50: '#b0669a',
    500: '#8a1d71',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d71;
$custom-light: #b0669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d71",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 313.761,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.16813,
    "h": 339.2
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#8A1D71
secondary
#48BB62
accent
#E86640
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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