#8A1D6C#8A1D6C

#8A1D6C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.165 H 341.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8A1D6C
RGBrgb(138, 29, 108)
HSLhsl(317, 65%, 33%)
HSVhsv(317, 79%, 54%)
CMYKcmyk(0%, 79%, 21.7%, 45.9%)
CIE-LABlab(32.63, 52.10, -19.20)
CIE-LCHlch(32.63, 55.53, 339.77°)
OKLaboklab(44.11% 0.1565 -0.0516)
OKLCHoklch(44.11% 0.165 341.7)
XYZxyz(13.6278, 7.3661, 14.8886)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D6C #1D8A3B
analogous
#711D8A #8A1D6C #8A1D35
triadic
#8A1D6C #6C8A1D #1D6C8A
tetradic
#8A1D6C #8A711D #1D8A3B #1D358A
square
#8A1D6C #8A711D #1D8A3B #1D358A
split-complementary
#8A1D6C #358A1D #1D8A71
monochromatic
#25081D #571244 #8A1D6C #BD2894 #D949B1

Accessibility & contrast

On white

8.49
#8A1D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D6C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D6C#FFFFFF#000000##FFFFFF
##8A1D6C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416E
Deuteranopia (green-blind)
#4B536A
Tritanopia (blue-blind)
#931F42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1d6c;
/* rgb */ color: rgb(138, 29, 108);
/* oklch */ color: oklch(44.1% 0.165 341.7);
Tailwind
colors: {
  custom: {
    50: '#b06696',
    500: '#8a1d6c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d6c;
$custom-light: #b06696;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d6c",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 316.514,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.1648,
    "h": 341.7
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#8A1D6C
secondary
#48BB68
accent
#E86E40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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