#8A1C72#8A1C72

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

Color values

HEX#8A1C72
RGBrgb(138, 28, 114)
HSLhsl(313, 66%, 33%)
HSVhsv(313, 80%, 54%)
CMYKcmyk(0%, 79.7%, 17.4%, 45.9%)
CIE-LABlab(32.81, 53.25, -22.73)
CIE-LCHlch(32.81, 57.90, 336.89°)
OKLaboklab(44.34% 0.1582 -0.0616)
OKLCHoklch(44.34% 0.17 338.7)
XYZxyz(13.9341, 7.4501, 16.6205)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C72 #1C8A34
analogous
#6B1C8A #8A1C72 #8A1C3B
triadic
#8A1C72 #728A1C #1C728A
tetradic
#8A1C72 #8A6B1C #1C8A34 #1C3B8A
square
#8A1C72 #8A6B1C #1C8A34 #1C3B8A
split-complementary
#8A1C72 #3B8A1C #1C8A6B
monochromatic
#24071E #571248 #8A1C72 #BD269C #DA47BA

Accessibility & contrast

On white

8.43
#8A1C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C72
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C72#FFFFFF#000000##FFFFFF
##8A1C721.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#922245
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1c72;
/* rgb */ color: rgb(138, 28, 114);
/* oklch */ color: oklch(44.3% 0.170 338.7);
Tailwind
colors: {
  custom: {
    50: '#b0669b',
    500: '#8a1c72',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c72;
$custom-light: #b0669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c72",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 313.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.16982,
    "h": 338.7
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#8A1C72
secondary
#46BB60
accent
#E9643F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1C72

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

Preview Lab → · Contrast checker → · Palette generator →

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