#8A1E76#8A1E76

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

Color values

HEX#8A1E76
RGBrgb(138, 30, 118)
HSLhsl(311, 64%, 33%)
HSVhsv(311, 78%, 54%)
CMYKcmyk(0%, 78.3%, 14.5%, 45.9%)
CIE-LABlab(33.22, 53.23, -24.62)
CIE-LCHlch(33.22, 58.65, 335.18°)
OKLaboklab(44.7% 0.1568 -0.067)
OKLCHoklch(44.7% 0.171 336.9)
XYZxyz(14.2158, 7.6412, 17.8622)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E76 #1E8A32
analogous
#681E8A #8A1E76 #8A1E40
triadic
#8A1E76 #768A1E #1E768A
tetradic
#8A1E76 #8A681E #1E8A32 #1E408A
square
#8A1E76 #8A681E #1E8A32 #1E408A
split-complementary
#8A1E76 #408A1E #1E8A68
monochromatic
#250820 #58134B #8A1E76 #BC29A1 #D84BBE

Accessibility & contrast

On white

8.31
#8A1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E76
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E76#FFFFFF#000000##FFFFFF
##8A1E761.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e76;
/* rgb */ color: rgb(138, 30, 118);
/* oklch */ color: oklch(44.7% 0.171 336.9);
Tailwind
colors: {
  custom: {
    50: '#b0679e',
    500: '#8a1e76',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e76;
$custom-light: #b0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e76",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 311.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44699,
    "c": 0.17056,
    "h": 336.9
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#8A1E76
secondary
#4ABA5E
accent
#E75F41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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