#8A1E77#8A1E77

#8A1E77 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.171 H 336.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8A1E77
RGBrgb(138, 30, 119)
HSLhsl(311, 64%, 33%)
HSVhsv(311, 78%, 54%)
CMYKcmyk(0%, 78.3%, 13.8%, 45.9%)
CIE-LABlab(33.28, 53.38, -25.17)
CIE-LCHlch(33.28, 59.02, 334.76°)
OKLaboklab(44.75% 0.1569 -0.0686)
OKLCHoklch(44.75% 0.171 336.4)
XYZxyz(14.2755, 7.6651, 18.1769)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E77 #1E8A31
analogous
#671E8A #8A1E77 #8A1E41
triadic
#8A1E77 #778A1E #1E778A
tetradic
#8A1E77 #8A671E #1E8A31 #1E418A
square
#8A1E77 #8A671E #1E8A31 #1E418A
split-complementary
#8A1E77 #418A1E #1E8A67
monochromatic
#250820 #58134C #8A1E77 #BC29A2 #D84BBF

Accessibility & contrast

On white

8.29
#8A1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E77
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E77#FFFFFF#000000##FFFFFF
##8A1E771.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#475475
Tritanopia (blue-blind)
#912649
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1e77;
/* rgb */ color: rgb(138, 30, 119);
/* oklch */ color: oklch(44.8% 0.171 336.4);
Tailwind
colors: {
  custom: {
    50: '#b0679e',
    500: '#8a1e77',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e77;
$custom-light: #b0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e77",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 310.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.17127,
    "h": 336.4
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#8A1E77
secondary
#4ABA5D
accent
#E75E41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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