#8A1973#8A1973

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

Color values

HEX#8A1973
RGBrgb(138, 25, 115)
HSLhsl(312, 69%, 32%)
HSVhsv(312, 82%, 54%)
CMYKcmyk(0%, 81.9%, 16.7%, 45.9%)
CIE-LABlab(32.56, 54.25, -23.75)
CIE-LCHlch(32.56, 59.22, 336.36°)
OKLaboklab(44.17% 0.1609 -0.0645)
OKLCHoklch(44.17% 0.173 338.1)
XYZxyz(13.9237, 7.3377, 16.8994)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1973 #198A30
analogous
#68198A #8A1973 #8A193B
triadic
#8A1973 #738A19 #19738A
tetradic
#8A1973 #8A6819 #198A30 #193B8A
square
#8A1973 #8A6819 #198A30 #193B8A
split-complementary
#8A1973 #3B8A19 #198A68
monochromatic
#22061D #561048 #8A1973 #BE229E #DD41BD

Accessibility & contrast

On white

8.51
#8A1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1973
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1973#FFFFFF#000000##FFFFFF
##8A19731.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4275
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#922045
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1973;
/* rgb */ color: rgb(138, 25, 115);
/* oklch */ color: oklch(44.2% 0.173 338.1);
Tailwind
colors: {
  custom: {
    50: '#b0659b',
    500: '#8a1973',
    950: '#000000',
  },
}
SCSS
$custom: #8a1973;
$custom-light: #b0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1973",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 312.212,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.17338,
    "h": 338.1
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#8A1973
secondary
#42BD5B
accent
#EC603C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1973

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

Preview Lab → · Contrast checker → · Palette generator →

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