#8A1877#8A1877

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

Color values

HEX#8A1877
RGBrgb(138, 24, 119)
HSLhsl(310, 70%, 32%)
HSVhsv(310, 83%, 54%)
CMYKcmyk(0%, 82.6%, 13.8%, 45.9%)
CIE-LABlab(32.68, 55.10, -26.10)
CIE-LCHlch(32.68, 60.97, 334.65°)
OKLaboklab(44.32% 0.1621 -0.0713)
OKLCHoklch(44.32% 0.177 336.3)
XYZxyz(14.1379, 7.3898, 18.1310)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1877 #188A2B
analogous
#64188A #8A1877 #8A183E
triadic
#8A1877 #778A18 #18778A
tetradic
#8A1877 #8A6418 #188A2B #183E8A
square
#8A1877 #8A6418 #188A2B #183E8A
split-complementary
#8A1877 #3E8A18 #188A64
monochromatic
#22061D #560F4A #8A1877 #BE21A4 #DE3FC3

Accessibility & contrast

On white

8.48
#8A1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1877
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1877#FFFFFF#000000##FFFFFF
##8A18771.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1877;
/* rgb */ color: rgb(138, 24, 119);
/* oklch */ color: oklch(44.3% 0.177 336.3);
Tailwind
colors: {
  custom: {
    50: '#b0659e',
    500: '#8a1877',
    950: '#000000',
  },
}
SCSS
$custom: #8a1877;
$custom-light: #b0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1877",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 310,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44324,
    "c": 0.17703,
    "h": 336.3
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#8A1877
secondary
#40BD55
accent
#ED583B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1877

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

Preview Lab → · Contrast checker → · Palette generator →

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