#8A1576#8A1576

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

Color values

HEX#8A1576
RGBrgb(138, 21, 118)
HSLhsl(310, 74%, 31%)
HSVhsv(310, 85%, 54%)
CMYKcmyk(0%, 84.8%, 14.5%, 45.9%)
CIE-LABlab(32.37, 55.70, -25.96)
CIE-LCHlch(32.37, 61.46, 335.01°)
OKLaboklab(44.08% 0.1642 -0.0708)
OKLCHoklch(44.08% 0.179 336.7)
XYZxyz(14.0197, 7.2490, 17.7969)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1576 #158A29
analogous
#63158A #8A1576 #8A153B
triadic
#8A1576 #768A15 #15768A
tetradic
#8A1576 #8A6315 #158A29 #153B8A
square
#8A1576 #8A6315 #158A29 #153B8A
split-complementary
#8A1576 #3B8A15 #158A63
monochromatic
#20051B #550D49 #8A1576 #BF1DA3 #E139C4

Accessibility & contrast

On white

8.57
#8A1576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1576
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1576#FFFFFF#000000##FFFFFF
##8A15761.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#921F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1576;
/* rgb */ color: rgb(138, 21, 118);
/* oklch */ color: oklch(44.1% 0.179 336.7);
Tailwind
colors: {
  custom: {
    50: '#b0649e',
    500: '#8a1576',
    950: '#000000',
  },
}
SCSS
$custom: #8a1576;
$custom-light: #b0649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1576",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 310.256,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.17884,
    "h": 336.7
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#8A1576
secondary
#3DBE53
accent
#F05738
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1576

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

Preview Lab → · Contrast checker → · Palette generator →

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