#8A1D73#8A1D73

#8A1D73 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.169 H 338.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8A1D73
RGBrgb(138, 29, 115)
HSLhsl(313, 65%, 33%)
HSVhsv(313, 79%, 54%)
CMYKcmyk(0%, 79%, 16.7%, 45.9%)
CIE-LABlab(32.97, 53.10, -23.12)
CIE-LCHlch(32.97, 57.91, 336.47°)
OKLaboklab(44.46% 0.1574 -0.0628)
OKLCHoklch(44.46% 0.169 338.3)
XYZxyz(14.0154, 7.5212, 16.9299)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D73 #1D8A34
analogous
#6B1D8A #8A1D73 #8A1D3C
triadic
#8A1D73 #738A1D #1D738A
tetradic
#8A1D73 #8A6B1D #1D8A34 #1D3C8A
square
#8A1D73 #8A6B1D #1D8A34 #1D3C8A
split-complementary
#8A1D73 #3C8A1D #1D8A6B
monochromatic
#25081F #571249 #8A1D73 #BD289D #D949BA

Accessibility & contrast

On white

8.39
#8A1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D73
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D73#FFFFFF#000000##FFFFFF
##8A1D731.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#922346
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1d73;
/* rgb */ color: rgb(138, 29, 115);
/* oklch */ color: oklch(44.5% 0.169 338.3);
Tailwind
colors: {
  custom: {
    50: '#b0669b',
    500: '#8a1d73',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d73;
$custom-light: #b0669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d73",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 312.661,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.16949,
    "h": 338.3
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#8A1D73
secondary
#48BB60
accent
#E86340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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