#8A1573#8A1573

#8A1573 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.177 H 338.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8A1573
RGBrgb(138, 21, 115)
HSLhsl(312, 74%, 31%)
HSVhsv(312, 85%, 54%)
CMYKcmyk(0%, 84.8%, 16.7%, 45.9%)
CIE-LABlab(32.21, 55.27, -24.30)
CIE-LCHlch(32.21, 60.38, 336.26°)
OKLaboklab(43.92% 0.164 -0.0661)
OKLCHoklch(43.92% 0.177 338)
XYZxyz(13.8443, 7.1788, 16.8729)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1573 #158A2C
analogous
#66158A #8A1573 #8A1538
triadic
#8A1573 #738A15 #15738A
tetradic
#8A1573 #8A6615 #158A2C #15388A
square
#8A1573 #8A6615 #158A2C #15388A
split-complementary
#8A1573 #388A15 #158A66
monochromatic
#20051A #550D47 #8A1573 #BF1D9F #E139C0

Accessibility & contrast

On white

8.62
#8A1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1573
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1573#FFFFFF#000000##FFFFFF
##8A15731.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4075
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#921D44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1573;
/* rgb */ color: rgb(138, 21, 115);
/* oklch */ color: oklch(43.9% 0.177 338.0);
Tailwind
colors: {
  custom: {
    50: '#b0649b',
    500: '#8a1573',
    950: '#000000',
  },
}
SCSS
$custom: #8a1573;
$custom-light: #b0649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1573",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 311.795,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.17681,
    "h": 338
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#8A1573
secondary
#3DBE56
accent
#F05C38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1573

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

Preview Lab → · Contrast checker → · Palette generator →

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