#8A1977#8A1977

#8A1977 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.176 H 336.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A1977
RGBrgb(138, 25, 119)
HSLhsl(310, 69%, 32%)
HSVhsv(310, 82%, 54%)
CMYKcmyk(0%, 81.9%, 13.8%, 45.9%)
CIE-LABlab(32.77, 54.84, -25.96)
CIE-LCHlch(32.77, 60.67, 334.67°)
OKLaboklab(44.39% 0.1613 -0.0708)
OKLCHoklch(44.39% 0.176 336.3)
XYZxyz(14.1589, 7.4318, 18.1380)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1977 #198A2C
analogous
#64198A #8A1977 #8A193F
triadic
#8A1977 #778A19 #19778A
tetradic
#8A1977 #8A6419 #198A2C #193F8A
square
#8A1977 #8A6419 #198A2C #193F8A
split-complementary
#8A1977 #3F8A19 #198A64
monochromatic
#22061E #56104A #8A1977 #BE22A4 #DD41C2

Accessibility & contrast

On white

8.45
#8A1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1977
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1977#FFFFFF#000000##FFFFFF
##8A19771.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#455374
Tritanopia (blue-blind)
#922248
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1977;
/* rgb */ color: rgb(138, 25, 119);
/* oklch */ color: oklch(44.4% 0.176 336.3);
Tailwind
colors: {
  custom: {
    50: '#b0659e',
    500: '#8a1977',
    950: '#000000',
  },
}
SCSS
$custom: #8a1977;
$custom-light: #b0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1977",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 310.088,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4439,
    "c": 0.17613,
    "h": 336.3
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#8A1977
secondary
#42BD56
accent
#EC593C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1977

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

Preview Lab → · Contrast checker → · Palette generator →

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