#8A1A6D#8A1A6D

#8A1A6D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.168 H 341.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8A1A6D
RGBrgb(138, 26, 109)
HSLhsl(316, 68%, 32%)
HSVhsv(316, 81%, 54%)
CMYKcmyk(0%, 81.2%, 21%, 45.9%)
CIE-LABlab(32.36, 53.13, -20.24)
CIE-LCHlch(32.36, 56.85, 339.14°)
OKLaboklab(43.93% 0.1594 -0.0546)
OKLCHoklch(43.93% 0.168 341.1)
XYZxyz(13.6114, 7.2476, 15.1471)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A6D #1A8A37
analogous
#6F1A8A #8A1A6D #8A1A35
triadic
#8A1A6D #6D8A1A #1A6D8A
tetradic
#8A1A6D #8A6F1A #1A8A37 #1A358A
square
#8A1A6D #8A6F1A #1A8A37 #1A358A
split-complementary
#8A1A6D #358A1A #1A8A6F
monochromatic
#23071C #571044 #8A1A6D #BD2496 #DC43B4

Accessibility & contrast

On white

8.57
#8A1A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A6D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A6D#FFFFFF#000000##FFFFFF
##8A1A6D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#49526B
Tritanopia (blue-blind)
#931D42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1a6d;
/* rgb */ color: rgb(138, 26, 109);
/* oklch */ color: oklch(43.9% 0.168 341.1);
Tailwind
colors: {
  custom: {
    50: '#b06597',
    500: '#8a1a6d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a6d;
$custom-light: #b06597;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a6d",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 315.536,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.16844,
    "h": 341.1
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#8A1A6D
secondary
#43BD63
accent
#EB6A3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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