#8A1A77#8A1A77

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

Color values

HEX#8A1A77
RGBrgb(138, 26, 119)
HSLhsl(310, 68%, 32%)
HSVhsv(310, 81%, 54%)
CMYKcmyk(0%, 81.2%, 13.8%, 45.9%)
CIE-LABlab(32.87, 54.56, -25.81)
CIE-LCHlch(32.87, 60.36, 334.68°)
OKLaboklab(44.46% 0.1604 -0.0704)
OKLCHoklch(44.46% 0.175 336.3)
XYZxyz(14.1807, 7.4753, 18.1452)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A77 #1A8A2D
analogous
#651A8A #8A1A77 #8A1A3F
triadic
#8A1A77 #778A1A #1A778A
tetradic
#8A1A77 #8A651A #1A8A2D #1A3F8A
square
#8A1A77 #8A651A #1A8A2D #1A3F8A
split-complementary
#8A1A77 #3F8A1A #1A8A65
monochromatic
#23071E #57104B #8A1A77 #BD24A3 #DC43C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1A77#FFFFFF#000000##FFFFFF
##8A1A771.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)
#1C4379
Deuteranopia (green-blind)
#455374
Tritanopia (blue-blind)
#922348
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a77;
/* rgb */ color: rgb(138, 26, 119);
/* oklch */ color: oklch(44.5% 0.175 336.3);
Tailwind
colors: {
  custom: {
    50: '#b0659e',
    500: '#8a1a77',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a77;
$custom-light: #b0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a77",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 310.179,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44458,
    "c": 0.17522,
    "h": 336.3
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#8A1A77
secondary
#43BD58
accent
#EB5A3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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