#8A1976#8A1976

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

Color values

HEX#8A1976
RGBrgb(138, 25, 118)
HSLhsl(311, 69%, 32%)
HSVhsv(311, 82%, 54%)
CMYKcmyk(0%, 81.9%, 14.5%, 45.9%)
CIE-LABlab(32.72, 54.69, -25.41)
CIE-LCHlch(32.72, 60.30, 335.08°)
OKLaboklab(44.34% 0.1612 -0.0693)
OKLCHoklch(44.34% 0.175 336.7)
XYZxyz(14.0992, 7.4079, 17.8234)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1976 #198A2D
analogous
#65198A #8A1976 #8A193E
triadic
#8A1976 #768A19 #19768A
tetradic
#8A1976 #8A6519 #198A2D #193E8A
square
#8A1976 #8A6519 #198A2D #193E8A
split-complementary
#8A1976 #3E8A19 #198A65
monochromatic
#22061D #56104A #8A1976 #BE22A2 #DD41C1

Accessibility & contrast

On white

8.46
#8A1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A1976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1976
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1976#FFFFFF#000000##FFFFFF
##8A19761.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#922247
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1976;
/* rgb */ color: rgb(138, 25, 118);
/* oklch */ color: oklch(44.3% 0.175 336.7);
Tailwind
colors: {
  custom: {
    50: '#b0659e',
    500: '#8a1976',
    950: '#000000',
  },
}
SCSS
$custom: #8a1976;
$custom-light: #b0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1976",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 310.619,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.17543,
    "h": 336.7
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#8A1976
secondary
#42BD57
accent
#EC5B3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1976

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

Preview Lab → · Contrast checker → · Palette generator →

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