#8A1E71#8A1E71

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

Color values

HEX#8A1E71
RGBrgb(138, 30, 113)
HSLhsl(314, 64%, 33%)
HSVhsv(314, 78%, 54%)
CMYKcmyk(0%, 78.3%, 18.1%, 45.9%)
CIE-LABlab(32.97, 52.50, -21.84)
CIE-LCHlch(32.97, 56.86, 337.41°)
OKLaboklab(44.44% 0.1563 -0.0591)
OKLCHoklch(44.44% 0.167 339.3)
XYZxyz(13.9265, 7.5255, 16.3387)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E71 #1E8A37
analogous
#6D1E8A #8A1E71 #8A1E3B
triadic
#8A1E71 #718A1E #1E718A
tetradic
#8A1E71 #8A6D1E #1E8A37 #1E3B8A
square
#8A1E71 #8A6D1E #1E8A37 #1E3B8A
split-complementary
#8A1E71 #3B8A1E #1E8A6D
monochromatic
#25081F #581348 #8A1E71 #BC299A #D84BB7

Accessibility & contrast

On white

8.38
#8A1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E71
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E71#FFFFFF#000000##FFFFFF
##8A1E711.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#922345
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1e71;
/* rgb */ color: rgb(138, 30, 113);
/* oklch */ color: oklch(44.4% 0.167 339.3);
Tailwind
colors: {
  custom: {
    50: '#b0669a',
    500: '#8a1e71',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e71;
$custom-light: #b0669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e71",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 313.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.16708,
    "h": 339.3
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#8A1E71
secondary
#4ABA64
accent
#E76741
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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