#8A1A71#8A1A71

#8A1A71 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.171 H 339.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A1A71
RGBrgb(138, 26, 113)
HSLhsl(313, 68%, 32%)
HSVhsv(313, 81%, 54%)
CMYKcmyk(0%, 81.2%, 18.1%, 45.9%)
CIE-LABlab(32.56, 53.69, -22.49)
CIE-LCHlch(32.56, 58.21, 337.27°)
OKLaboklab(44.14% 0.1599 -0.0609)
OKLCHoklch(44.14% 0.171 339.1)
XYZxyz(13.8316, 7.3357, 16.3071)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A71 #1A8A33
analogous
#6B1A8A #8A1A71 #8A1A39
triadic
#8A1A71 #718A1A #1A718A
tetradic
#8A1A71 #8A6B1A #1A8A33 #1A398A
square
#8A1A71 #8A6B1A #1A8A33 #1A398A
split-complementary
#8A1A71 #398A1A #1A8A6B
monochromatic
#23071D #571047 #8A1A71 #BD249B #DC43B9

Accessibility & contrast

On white

8.51
#8A1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A71
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A71#FFFFFF#000000##FFFFFF
##8A1A711.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#48536E
Tritanopia (blue-blind)
#921F44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a71;
/* rgb */ color: rgb(138, 26, 113);
/* oklch */ color: oklch(44.1% 0.171 339.1);
Tailwind
colors: {
  custom: {
    50: '#b0659a',
    500: '#8a1a71',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a71;
$custom-light: #b0659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a71",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 313.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.17109,
    "h": 339.1
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#8A1A71
secondary
#43BD5E
accent
#EB643D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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