#8A2D76#8A2D76

#8A2D76 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.152 H 337.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8A2D76
RGBrgb(138, 45, 118)
HSLhsl(313, 51%, 36%)
HSVhsv(313, 67%, 54%)
CMYKcmyk(0%, 67.4%, 14.5%, 45.9%)
CIE-LABlab(35.18, 47.72, -21.56)
CIE-LCHlch(35.18, 52.36, 335.68°)
OKLaboklab(46.12% 0.1404 -0.0585)
OKLCHoklch(46.12% 0.152 337.4)
XYZxyz(14.6899, 8.5893, 18.0203)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D76 #2D8A41
analogous
#6F2D8A #8A2D76 #8A2D47
triadic
#8A2D76 #768A2D #2D768A
tetradic
#8A2D76 #8A6F2D #2D8A41 #2D478A
square
#8A2D76 #8A6F2D #2D8A41 #2D478A
split-complementary
#8A2D76 #478A2D #2D8A6F
monochromatic
#2E0F27 #5C1E4F #8A2D76 #B83C9D #CD65B6

Accessibility & contrast

On white

7.73
#8A2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D76
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D76#FFFFFF#000000##FFFFFF
##8A2D761.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#4D5874
Tritanopia (blue-blind)
#91314D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2d76;
/* rgb */ color: rgb(138, 45, 118);
/* oklch */ color: oklch(46.1% 0.152 337.4);
Tailwind
colors: {
  custom: {
    50: '#af6d9d',
    500: '#8a2d76',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d76;
$custom-light: #af6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d76",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 312.903,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.15205,
    "h": 337.4
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#8A2D76
secondary
#60B372
accent
#DA6C4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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