#8A1C6A#8A1C6A

#8A1C6A is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 342.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A1C6A
RGBrgb(138, 28, 106)
HSLhsl(317, 66%, 33%)
HSVhsv(317, 80%, 54%)
CMYKcmyk(0%, 79.7%, 23.2%, 45.9%)
CIE-LABlab(32.43, 52.13, -18.23)
CIE-LCHlch(32.43, 55.23, 340.73°)
OKLaboklab(43.93% 0.1571 -0.0489)
OKLCHoklch(43.93% 0.165 342.7)
XYZxyz(13.4985, 7.2758, 14.3264)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C6A #1C8A3C
analogous
#731C8A #8A1C6A #8A1C33
triadic
#8A1C6A #6A8A1C #1C6A8A
tetradic
#8A1C6A #8A731C #1C8A3C #1C338A
square
#8A1C6A #8A731C #1C8A3C #1C338A
split-complementary
#8A1C6A #338A1C #1C8A73
monochromatic
#24071C #571243 #8A1C6A #BD2691 #DA47AF

Accessibility & contrast

On white

8.55
#8A1C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C6A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C6A#FFFFFF#000000##FFFFFF
##8A1C6A1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#4B5368
Tritanopia (blue-blind)
#931D41
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1c6a;
/* rgb */ color: rgb(138, 28, 106);
/* oklch */ color: oklch(43.9% 0.165 342.7);
Tailwind
colors: {
  custom: {
    50: '#b06594',
    500: '#8a1c6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c6a;
$custom-light: #b06594;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c6a",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 317.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.16454,
    "h": 342.7
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#8A1C6A
secondary
#46BB68
accent
#E9703F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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