#8A1D76#8A1D76

#8A1D76 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.172 H 336.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8A1D76
RGBrgb(138, 29, 118)
HSLhsl(311, 65%, 33%)
HSVhsv(311, 79%, 54%)
CMYKcmyk(0%, 79%, 14.5%, 45.9%)
CIE-LABlab(33.12, 53.54, -24.78)
CIE-LCHlch(33.12, 59.00, 335.16°)
OKLaboklab(44.62% 0.1578 -0.0675)
OKLCHoklch(44.62% 0.172 336.8)
XYZxyz(14.1909, 7.5914, 17.8539)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D76 #1D8A31
analogous
#671D8A #8A1D76 #8A1D40
triadic
#8A1D76 #768A1D #1D768A
tetradic
#8A1D76 #8A671D #1D8A31 #1D408A
square
#8A1D76 #8A671D #1D8A31 #1D408A
split-complementary
#8A1D76 #408A1D #1D8A67
monochromatic
#250820 #57124B #8A1D76 #BD28A1 #D949BE

Accessibility & contrast

On white

8.34
#8A1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D76
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D76#FFFFFF#000000##FFFFFF
##8A1D761.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#922548
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1d76;
/* rgb */ color: rgb(138, 29, 118);
/* oklch */ color: oklch(44.6% 0.172 336.8);
Tailwind
colors: {
  custom: {
    50: '#b0669e',
    500: '#8a1d76',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d76;
$custom-light: #b0669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d76",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 311.009,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.17159,
    "h": 336.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#8A1D76
secondary
#48BB5D
accent
#E85F40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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