#8A1D72#8A1D72

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

Color values

HEX#8A1D72
RGBrgb(138, 29, 114)
HSLhsl(313, 65%, 33%)
HSVhsv(313, 79%, 54%)
CMYKcmyk(0%, 79%, 17.4%, 45.9%)
CIE-LABlab(32.92, 52.95, -22.57)
CIE-LCHlch(32.92, 57.56, 336.92°)
OKLaboklab(44.41% 0.1573 -0.0612)
OKLCHoklch(44.41% 0.169 338.8)
XYZxyz(13.9582, 7.4983, 16.6285)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D72 #1D8A35
analogous
#6B1D8A #8A1D72 #8A1D3C
triadic
#8A1D72 #728A1D #1D728A
tetradic
#8A1D72 #8A6B1D #1D8A35 #1D3C8A
square
#8A1D72 #8A6B1D #1D8A35 #1D3C8A
split-complementary
#8A1D72 #3C8A1D #1D8A6B
monochromatic
#25081E #571248 #8A1D72 #BD289C #D949B9

Accessibility & contrast

On white

8.40
#8A1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D72
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D72#FFFFFF#000000##FFFFFF
##8A1D721.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234374
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#922246
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1d72;
/* rgb */ color: rgb(138, 29, 114);
/* oklch */ color: oklch(44.4% 0.169 338.8);
Tailwind
colors: {
  custom: {
    50: '#b0669b',
    500: '#8a1d72',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d72;
$custom-light: #b0669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d72",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 313.211,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44411,
    "c": 0.16881,
    "h": 338.8
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#8A1D72
secondary
#48BB61
accent
#E86540
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1D72

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

Preview Lab → · Contrast checker → · Palette generator →

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