#8A1C54#8A1C54

#8A1C54 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.152 H 354.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8A1C54
RGBrgb(138, 28, 84)
HSLhsl(329, 66%, 33%)
HSVhsv(329, 80%, 54%)
CMYKcmyk(0%, 79.7%, 39.1%, 45.9%)
CIE-LABlab(31.52, 49.42, -5.36)
CIE-LCHlch(31.52, 49.71, 353.81°)
OKLaboklab(42.98% 0.1519 -0.0135)
OKLCHoklch(42.98% 0.152 354.9)
XYZxyz(12.4976, 6.8755, 9.0548)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C54 #1C8A52
analogous
#891C8A #8A1C54 #8A1C1D
triadic
#8A1C54 #548A1C #1C548A
tetradic
#8A1C54 #8A891C #1C8A52 #1C1D8A
square
#8A1C54 #8A891C #1C8A52 #1C1D8A
split-complementary
#8A1C54 #1D8A1C #1C8A89
monochromatic
#240716 #571235 #8A1C54 #BD2673 #DA4792

Accessibility & contrast

On white

8.84
#8A1C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C54
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C54#FFFFFF#000000##FFFFFF
##8A1C541.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D55
Deuteranopia (green-blind)
#515152
Tritanopia (blue-blind)
#950D35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c54;
/* rgb */ color: rgb(138, 28, 84);
/* oklch */ color: oklch(43.0% 0.152 354.9);
Tailwind
colors: {
  custom: {
    50: '#b16584',
    500: '#8a1c54',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c54;
$custom-light: #b16584;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c54",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 329.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.15249,
    "h": 354.9
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#8A1C54
secondary
#46BB80
accent
#E9923F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1C54

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

Preview Lab → · Contrast checker → · Palette generator →

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