#8A1C5A#8A1C5A

#8A1C5A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 351.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A1C5A
RGBrgb(138, 28, 90)
HSLhsl(326, 66%, 33%)
HSVhsv(326, 80%, 54%)
CMYKcmyk(0%, 79.7%, 34.8%, 45.9%)
CIE-LABlab(31.75, 50.10, -8.94)
CIE-LCHlch(31.75, 50.89, 349.88°)
OKLaboklab(43.22% 0.1536 -0.0232)
OKLCHoklch(43.22% 0.155 351.4)
XYZxyz(12.7427, 6.9735, 10.3459)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C5A #1C8A4C
analogous
#831C8A #8A1C5A #8A1C23
triadic
#8A1C5A #5A8A1C #1C5A8A
tetradic
#8A1C5A #8A831C #1C8A4C #1C238A
square
#8A1C5A #8A831C #1C8A4C #1C238A
split-complementary
#8A1C5A #238A1C #1C8A83
monochromatic
#240718 #571239 #8A1C5A #BD267B #DA479A

Accessibility & contrast

On white

8.77
#8A1C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C5A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C5A#FFFFFF#000000##FFFFFF
##8A1C5A1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#505258
Tritanopia (blue-blind)
#951239
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1c5a;
/* rgb */ color: rgb(138, 28, 90);
/* oklch */ color: oklch(43.2% 0.155 351.4);
Tailwind
colors: {
  custom: {
    50: '#b06588',
    500: '#8a1c5a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c5a;
$custom-light: #b06588;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c5a",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 326.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.15535,
    "h": 351.4
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#8A1C5A
secondary
#46BB79
accent
#E9893F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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