#8A1D77#8A1D77

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

Color values

HEX#8A1D77
RGBrgb(138, 29, 119)
HSLhsl(310, 65%, 33%)
HSVhsv(310, 79%, 54%)
CMYKcmyk(0%, 79%, 13.8%, 45.9%)
CIE-LABlab(33.17, 53.69, -25.33)
CIE-LCHlch(33.17, 59.37, 334.74°)
OKLaboklab(44.68% 0.1578 -0.0691)
OKLCHoklch(44.68% 0.172 336.4)
XYZxyz(14.2506, 7.6152, 18.1686)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D77 #1D8A30
analogous
#671D8A #8A1D77 #8A1D40
triadic
#8A1D77 #778A1D #1D778A
tetradic
#8A1D77 #8A671D #1D8A30 #1D408A
square
#8A1D77 #8A671D #1D8A30 #1D408A
split-complementary
#8A1D77 #408A1D #1D8A67
monochromatic
#250820 #57124B #8A1D77 #BD28A3 #D949C0

Accessibility & contrast

On white

8.32
#8A1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D77
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D77#FFFFFF#000000##FFFFFF
##8A1D771.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4479
Deuteranopia (green-blind)
#465474
Tritanopia (blue-blind)
#912549
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1d77;
/* rgb */ color: rgb(138, 29, 119);
/* oklch */ color: oklch(44.7% 0.172 336.4);
Tailwind
colors: {
  custom: {
    50: '#b0669e',
    500: '#8a1d77',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d77;
$custom-light: #b0669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d77",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 310.459,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.1723,
    "h": 336.4
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#8A1D77
secondary
#48BB5C
accent
#E85D40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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