#8A1974#8A1974

#8A1974 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.174 H 337.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A1974
RGBrgb(138, 25, 116)
HSLhsl(312, 69%, 32%)
HSVhsv(312, 82%, 54%)
CMYKcmyk(0%, 81.9%, 15.9%, 45.9%)
CIE-LABlab(32.61, 54.40, -24.31)
CIE-LCHlch(32.61, 59.58, 335.92°)
OKLaboklab(44.23% 0.161 -0.0661)
OKLCHoklch(44.23% 0.174 337.7)
XYZxyz(13.9816, 7.3609, 17.2041)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1974 #198A2F
analogous
#67198A #8A1974 #8A193C
triadic
#8A1974 #748A19 #19748A
tetradic
#8A1974 #8A6719 #198A2F #193C8A
square
#8A1974 #8A6719 #198A2F #193C8A
split-complementary
#8A1974 #3C8A19 #198A67
monochromatic
#22061D #561048 #8A1974 #BE22A0 #DD41BE

Accessibility & contrast

On white

8.50
#8A1974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1974
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1974#FFFFFF#000000##FFFFFF
##8A19741.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#465371
Tritanopia (blue-blind)
#922146
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1974;
/* rgb */ color: rgb(138, 25, 116);
/* oklch */ color: oklch(44.2% 0.174 337.7);
Tailwind
colors: {
  custom: {
    50: '#b0659c',
    500: '#8a1974',
    950: '#000000',
  },
}
SCSS
$custom: #8a1974;
$custom-light: #b0659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1974",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 311.681,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.17405,
    "h": 337.7
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#8A1974
secondary
#42BD5A
accent
#EC5E3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1974

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

Preview Lab → · Contrast checker → · Palette generator →

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