#8A1C66#8A1C66

#8A1C66 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.162 H 344.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8A1C66
RGBrgb(138, 28, 102)
HSLhsl(320, 66%, 33%)
HSVhsv(320, 80%, 54%)
CMYKcmyk(0%, 79.7%, 26.1%, 45.9%)
CIE-LABlab(32.25, 51.59, -15.94)
CIE-LCHlch(32.25, 54.00, 342.83°)
OKLaboklab(43.74% 0.1564 -0.0425)
OKLCHoklch(43.74% 0.162 344.8)
XYZxyz(13.2953, 7.1946, 13.2563)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C66 #1C8A40
analogous
#771C8A #8A1C66 #8A1C2F
triadic
#8A1C66 #668A1C #1C668A
tetradic
#8A1C66 #8A771C #1C8A40 #1C2F8A
square
#8A1C66 #8A771C #1C8A40 #1C2F8A
split-complementary
#8A1C66 #2F8A1C #1C8A77
monochromatic
#24071B #571240 #8A1C66 #BD268C #DA47AA

Accessibility & contrast

On white

8.61
#8A1C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C66
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C66#FFFFFF#000000##FFFFFF
##8A1C661.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#4C5264
Tritanopia (blue-blind)
#941A3F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1c66;
/* rgb */ color: rgb(138, 28, 102);
/* oklch */ color: oklch(43.7% 0.162 344.8);
Tailwind
colors: {
  custom: {
    50: '#b06591',
    500: '#8a1c66',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c66;
$custom-light: #b06591;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c66",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 319.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.16205,
    "h": 344.8
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#8A1C66
secondary
#46BB6D
accent
#E9763F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D

Preview Lab

Preview with #8A1C66

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

Preview Lab → · Contrast checker → · Palette generator →

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