#8A1C6C#8A1C6C

#8A1C6C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.166 H 341.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8A1C6C
RGBrgb(138, 28, 108)
HSLhsl(316, 66%, 33%)
HSVhsv(316, 80%, 54%)
CMYKcmyk(0%, 79.7%, 21.7%, 45.9%)
CIE-LABlab(32.52, 52.41, -19.36)
CIE-LCHlch(32.52, 55.87, 339.72°)
OKLaboklab(44.03% 0.1574 -0.0521)
OKLCHoklch(44.03% 0.166 341.7)
XYZxyz(13.6037, 7.3179, 14.8805)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C6C #1C8A3A
analogous
#711C8A #8A1C6C #8A1C35
triadic
#8A1C6C #6C8A1C #1C6C8A
tetradic
#8A1C6C #8A711C #1C8A3A #1C358A
square
#8A1C6C #8A711C #1C8A3A #1C358A
split-complementary
#8A1C6C #358A1C #1C8A71
monochromatic
#24071C #571244 #8A1C6C #BD2694 #DA47B2

Accessibility & contrast

On white

8.53
#8A1C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C6C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C6C#FFFFFF#000000##FFFFFF
##8A1C6C1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#4A536A
Tritanopia (blue-blind)
#931E42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1c6c;
/* rgb */ color: rgb(138, 28, 108);
/* oklch */ color: oklch(44.0% 0.166 341.7);
Tailwind
colors: {
  custom: {
    50: '#b06596',
    500: '#8a1c6c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c6c;
$custom-light: #b06596;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c6c",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 108
  },
  "hsl": {
    "h": 316.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.16582,
    "h": 341.7
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#8A1C6C
secondary
#46BB66
accent
#E96D3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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