#8A1972#8A1972

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

Color values

HEX#8A1972
RGBrgb(138, 25, 114)
HSLhsl(313, 69%, 32%)
HSVhsv(313, 82%, 54%)
CMYKcmyk(0%, 81.9%, 17.4%, 45.9%)
CIE-LABlab(32.51, 54.11, -23.20)
CIE-LCHlch(32.51, 58.87, 336.80°)
OKLaboklab(44.12% 0.1608 -0.063)
OKLCHoklch(44.12% 0.173 338.6)
XYZxyz(13.8665, 7.3148, 16.5980)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1972 #198A31
analogous
#69198A #8A1972 #8A193A
triadic
#8A1972 #728A19 #19728A
tetradic
#8A1972 #8A6919 #198A31 #193A8A
square
#8A1972 #8A6919 #198A31 #193A8A
split-complementary
#8A1972 #3A8A19 #198A69
monochromatic
#22061C #561047 #8A1972 #BE229D #DD41BB

Accessibility & contrast

On white

8.53
#8A1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1972
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1972#FFFFFF#000000##FFFFFF
##8A19721.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#47536F
Tritanopia (blue-blind)
#921F45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1972;
/* rgb */ color: rgb(138, 25, 114);
/* oklch */ color: oklch(44.1% 0.173 338.6);
Tailwind
colors: {
  custom: {
    50: '#b0659b',
    500: '#8a1972',
    950: '#000000',
  },
}
SCSS
$custom: #8a1972;
$custom-light: #b0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1972",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 312.743,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44121,
    "c": 0.1727,
    "h": 338.6
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#8A1972
secondary
#42BD5C
accent
#EC613C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1972

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

Preview Lab → · Contrast checker → · Palette generator →

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