#8A1D6A#8A1D6A

#8A1D6A is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.164 H 342.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A1D6A
RGBrgb(138, 29, 106)
HSLhsl(318, 65%, 33%)
HSVhsv(318, 79%, 54%)
CMYKcmyk(0%, 79%, 23.2%, 45.9%)
CIE-LABlab(32.53, 51.83, -18.06)
CIE-LCHlch(32.53, 54.88, 340.78°)
OKLaboklab(44.01% 0.1562 -0.0484)
OKLCHoklch(44.01% 0.164 342.8)
XYZxyz(13.5226, 7.3240, 14.3344)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D6A #1D8A3D
analogous
#741D8A #8A1D6A #8A1D33
triadic
#8A1D6A #6A8A1D #1D6A8A
tetradic
#8A1D6A #8A741D #1D8A3D #1D338A
square
#8A1D6A #8A741D #1D8A3D #1D338A
split-complementary
#8A1D6A #338A1D #1D8A74
monochromatic
#25081C #571243 #8A1D6A #BD2891 #D949AE

Accessibility & contrast

On white

8.52
#8A1D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D6A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D6A#FFFFFF#000000##FFFFFF
##8A1D6A1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29416C
Deuteranopia (green-blind)
#4B5368
Tritanopia (blue-blind)
#931E41
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1d6a;
/* rgb */ color: rgb(138, 29, 106);
/* oklch */ color: oklch(44.0% 0.164 342.8);
Tailwind
colors: {
  custom: {
    50: '#b06694',
    500: '#8a1d6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d6a;
$custom-light: #b06694;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d6a",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 317.615,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44011,
    "c": 0.16351,
    "h": 342.8
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#8A1D6A
secondary
#48BB6A
accent
#E87140
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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