#8A1D74#8A1D74

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

Color values

HEX#8A1D74
RGBrgb(138, 29, 116)
HSLhsl(312, 65%, 33%)
HSVhsv(312, 79%, 54%)
CMYKcmyk(0%, 79%, 15.9%, 45.9%)
CIE-LABlab(33.02, 53.25, -23.68)
CIE-LCHlch(33.02, 58.27, 336.03°)
OKLaboklab(44.52% 0.1576 -0.0643)
OKLCHoklch(44.52% 0.17 337.8)
XYZxyz(14.0733, 7.5443, 17.2346)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D74 #1D8A33
analogous
#691D8A #8A1D74 #8A1D3E
triadic
#8A1D74 #748A1D #1D748A
tetradic
#8A1D74 #8A691D #1D8A33 #1D3E8A
square
#8A1D74 #8A691D #1D8A33 #1D3E8A
split-complementary
#8A1D74 #3E8A1D #1D8A69
monochromatic
#25081F #571249 #8A1D74 #BD289F #D949BC

Accessibility & contrast

On white

8.37
#8A1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D74
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D74#FFFFFF#000000##FFFFFF
##8A1D741.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#922447
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1d74;
/* rgb */ color: rgb(138, 29, 116);
/* oklch */ color: oklch(44.5% 0.170 337.8);
Tailwind
colors: {
  custom: {
    50: '#b0669c',
    500: '#8a1d74',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d74;
$custom-light: #b0669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d74",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 312.11,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.17018,
    "h": 337.8
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#8A1D74
secondary
#48BB5F
accent
#E86240
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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