#8A1676#8A1676

#8A1676 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.178 H 336.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A1676
RGBrgb(138, 22, 118)
HSLhsl(310, 73%, 31%)
HSVhsv(310, 84%, 54%)
CMYKcmyk(0%, 84.1%, 14.5%, 45.9%)
CIE-LABlab(32.45, 55.46, -25.83)
CIE-LCHlch(32.45, 61.18, 335.03°)
OKLaboklab(44.14% 0.1635 -0.0705)
OKLCHoklch(44.14% 0.178 336.7)
XYZxyz(14.0384, 7.2865, 17.8031)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1676 #168A2A
analogous
#64168A #8A1676 #8A163C
triadic
#8A1676 #768A16 #16768A
tetradic
#8A1676 #8A6416 #168A2A #163C8A
square
#8A1676 #8A6416 #168A2A #163C8A
split-complementary
#8A1676 #3C8A16 #168A64
monochromatic
#20051C #550E49 #8A1676 #BF1EA3 #E03BC3

Accessibility & contrast

On white

8.55
#8A1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1676
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1676#FFFFFF#000000##FFFFFF
##8A16761.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#455273
Tritanopia (blue-blind)
#922046
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1676;
/* rgb */ color: rgb(138, 22, 118);
/* oklch */ color: oklch(44.1% 0.178 336.7);
Tailwind
colors: {
  custom: {
    50: '#b0649e',
    500: '#8a1676',
    950: '#000000',
  },
}
SCSS
$custom: #8a1676;
$custom-light: #b0649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1676",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 310.345,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.17803,
    "h": 336.7
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#8A1676
secondary
#3EBE54
accent
#EF5839
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1676

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

Preview Lab → · Contrast checker → · Palette generator →

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