#8A1D5A#8A1D5A

#8A1D5A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.154 H 351.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8A1D5A
RGBrgb(138, 29, 90)
HSLhsl(326, 65%, 33%)
HSVhsv(326, 79%, 54%)
CMYKcmyk(0%, 79%, 34.8%, 45.9%)
CIE-LABlab(31.86, 49.79, -8.78)
CIE-LCHlch(31.86, 50.56, 350.00°)
OKLaboklab(43.3% 0.1526 -0.0227)
OKLCHoklch(43.3% 0.154 351.5)
XYZxyz(12.7668, 7.0217, 10.3539)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D5A #1D8A4D
analogous
#831D8A #8A1D5A #8A1D24
triadic
#8A1D5A #5A8A1D #1D5A8A
tetradic
#8A1D5A #8A831D #1D8A4D #1D248A
square
#8A1D5A #8A831D #1D8A4D #1D248A
split-complementary
#8A1D5A #248A1D #1D8A83
monochromatic
#250818 #571239 #8A1D5A #BD287B #D94999

Accessibility & contrast

On white

8.74
#8A1D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D5A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D5A#FFFFFF#000000##FFFFFF
##8A1D5A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d5a;
/* rgb */ color: rgb(138, 29, 90);
/* oklch */ color: oklch(43.3% 0.154 351.5);
Tailwind
colors: {
  custom: {
    50: '#b06588',
    500: '#8a1d5a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d5a;
$custom-light: #b06588;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d5a",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 326.422,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.1543,
    "h": 351.5
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#8A1D5A
secondary
#48BB7B
accent
#E88A40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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