#8A1876#8A1876

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

Color values

HEX#8A1876
RGBrgb(138, 24, 118)
HSLhsl(311, 70%, 32%)
HSVhsv(311, 83%, 54%)
CMYKcmyk(0%, 82.6%, 14.5%, 45.9%)
CIE-LABlab(32.63, 54.96, -25.55)
CIE-LCHlch(32.63, 60.61, 335.06°)
OKLaboklab(44.27% 0.162 -0.0697)
OKLCHoklch(44.27% 0.176 336.7)
XYZxyz(14.0782, 7.3659, 17.8164)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1876 #188A2C
analogous
#65188A #8A1876 #8A183D
triadic
#8A1876 #768A18 #18768A
tetradic
#8A1876 #8A6518 #188A2C #183D8A
square
#8A1876 #8A6518 #188A2C #183D8A
split-complementary
#8A1876 #3D8A18 #188A65
monochromatic
#22061D #560F49 #8A1876 #BE21A3 #DE3FC2

Accessibility & contrast

On white

8.49
#8A1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1876
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1876#FFFFFF#000000##FFFFFF
##8A18761.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#455373
Tritanopia (blue-blind)
#922147
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1876;
/* rgb */ color: rgb(138, 24, 118);
/* oklch */ color: oklch(44.3% 0.176 336.7);
Tailwind
colors: {
  custom: {
    50: '#b0659e',
    500: '#8a1876',
    950: '#000000',
  },
}
SCSS
$custom: #8a1876;
$custom-light: #b0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1876",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 310.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44269,
    "c": 0.17633,
    "h": 336.7
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#8A1876
secondary
#40BD56
accent
#ED5A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1876

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

Preview Lab → · Contrast checker → · Palette generator →

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