#8A1D75#8A1D75

#8A1D75 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.171 H 337.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A1D75
RGBrgb(138, 29, 117)
HSLhsl(312, 65%, 33%)
HSVhsv(312, 79%, 54%)
CMYKcmyk(0%, 79%, 15.2%, 45.9%)
CIE-LABlab(33.07, 53.39, -24.23)
CIE-LCHlch(33.07, 58.64, 335.59°)
OKLaboklab(44.57% 0.1577 -0.0659)
OKLCHoklch(44.57% 0.171 337.3)
XYZxyz(14.1318, 7.5677, 17.5426)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D75 #1D8A32
analogous
#691D8A #8A1D75 #8A1D3E
triadic
#8A1D75 #758A1D #1D758A
tetradic
#8A1D75 #8A691D #1D8A32 #1D3E8A
square
#8A1D75 #8A691D #1D8A32 #1D3E8A
split-complementary
#8A1D75 #3E8A1D #1D8A69
monochromatic
#25081F #57124A #8A1D75 #BD28A0 #D949BD

Accessibility & contrast

On white

8.36
#8A1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D75
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D75#FFFFFF#000000##FFFFFF
##8A1D751.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1d75;
/* rgb */ color: rgb(138, 29, 117);
/* oklch */ color: oklch(44.6% 0.171 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0669d',
    500: '#8a1d75',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d75;
$custom-light: #b0669d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d75",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 311.56,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44568,
    "c": 0.17088,
    "h": 337.3
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#8A1D75
secondary
#48BB5E
accent
#E86040
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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