#8A1D6B#8A1D6B

#8A1D6B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.164 H 342.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8A1D6B
RGBrgb(138, 29, 107)
HSLhsl(317, 65%, 33%)
HSVhsv(317, 79%, 54%)
CMYKcmyk(0%, 79%, 22.5%, 45.9%)
CIE-LABlab(32.58, 51.96, -18.63)
CIE-LCHlch(32.58, 55.20, 340.27°)
OKLaboklab(44.06% 0.1563 -0.05)
OKLCHoklch(44.06% 0.164 342.3)
XYZxyz(13.5749, 7.3450, 14.6099)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D6B #1D8A3C
analogous
#721D8A #8A1D6B #8A1D35
triadic
#8A1D6B #6B8A1D #1D6B8A
tetradic
#8A1D6B #8A721D #1D8A3C #1D358A
square
#8A1D6B #8A721D #1D8A3C #1D358A
split-complementary
#8A1D6B #358A1D #1D8A72
monochromatic
#25081D #571244 #8A1D6B #BD2892 #D949B0

Accessibility & contrast

On white

8.51
#8A1D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D6B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D6B#FFFFFF#000000##FFFFFF
##8A1D6B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#931E42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1d6b;
/* rgb */ color: rgb(138, 29, 107);
/* oklch */ color: oklch(44.1% 0.164 342.3);
Tailwind
colors: {
  custom: {
    50: '#b06695',
    500: '#8a1d6b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d6b;
$custom-light: #b06695;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d6b",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 317.064,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.16415,
    "h": 342.3
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#8A1D6B
secondary
#48BB69
accent
#E87040
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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