#8A1C77#8A1C77

#8A1C77 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.173 H 336.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A1C77
RGBrgb(138, 28, 119)
HSLhsl(310, 66%, 33%)
HSVhsv(310, 80%, 54%)
CMYKcmyk(0%, 79.7%, 13.8%, 45.9%)
CIE-LABlab(33.06, 53.99, -25.50)
CIE-LCHlch(33.06, 59.71, 334.72°)
OKLaboklab(44.6% 0.1587 -0.0695)
OKLCHoklch(44.6% 0.173 336.3)
XYZxyz(14.2265, 7.5670, 18.1605)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C77 #1C8A2F
analogous
#661C8A #8A1C77 #8A1C40
triadic
#8A1C77 #778A1C #1C778A
tetradic
#8A1C77 #8A661C #1C8A2F #1C408A
square
#8A1C77 #8A661C #1C8A2F #1C408A
split-complementary
#8A1C77 #408A1C #1C8A66
monochromatic
#24071F #57124B #8A1C77 #BD26A3 #DA47C0

Accessibility & contrast

On white

8.36
#8A1C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C77
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C77#FFFFFF#000000##FFFFFF
##8A1C771.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#465474
Tritanopia (blue-blind)
#912548
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1c77;
/* rgb */ color: rgb(138, 28, 119);
/* oklch */ color: oklch(44.6% 0.173 336.3);
Tailwind
colors: {
  custom: {
    50: '#b0669e',
    500: '#8a1c77',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c77;
$custom-light: #b0669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c77",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 310.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.1733,
    "h": 336.3
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#8A1C77
secondary
#46BB5B
accent
#E95C3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1C77

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

Preview Lab → · Contrast checker → · Palette generator →

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