#8A1C75#8A1C75

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

Color values

HEX#8A1C75
RGBrgb(138, 28, 117)
HSLhsl(311, 66%, 33%)
HSVhsv(311, 80%, 54%)
CMYKcmyk(0%, 79.7%, 15.2%, 45.9%)
CIE-LABlab(32.96, 53.69, -24.40)
CIE-LCHlch(32.96, 58.98, 335.57°)
OKLaboklab(44.49% 0.1586 -0.0664)
OKLCHoklch(44.49% 0.172 337.3)
XYZxyz(14.1077, 7.5195, 17.5346)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C75 #1C8A31
analogous
#681C8A #8A1C75 #8A1C3E
triadic
#8A1C75 #758A1C #1C758A
tetradic
#8A1C75 #8A681C #1C8A31 #1C3E8A
square
#8A1C75 #8A681C #1C8A31 #1C3E8A
split-complementary
#8A1C75 #3E8A1C #1C8A68
monochromatic
#24071F #57124A #8A1C75 #BD26A0 #DA47BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1C75#FFFFFF#000000##FFFFFF
##8A1C751.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)
#204377
Deuteranopia (green-blind)
#475372
Tritanopia (blue-blind)
#922347
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c75;
/* rgb */ color: rgb(138, 28, 117);
/* oklch */ color: oklch(44.5% 0.172 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0669d',
    500: '#8a1c75',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c75;
$custom-light: #b0669d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c75",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 311.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.17189,
    "h": 337.3
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#8A1C75
secondary
#46BB5D
accent
#E95F3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1C75

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

Preview Lab → · Contrast checker → · Palette generator →

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