#8A2A74#8A2A74

#8A2A74 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.155 H 338.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2A74
RGBrgb(138, 42, 116)
HSLhsl(314, 53%, 35%)
HSVhsv(314, 70%, 54%)
CMYKcmyk(0%, 69.6%, 15.9%, 45.9%)
CIE-LABlab(34.64, 48.64, -21.14)
CIE-LCHlch(34.64, 53.04, 336.51°)
OKLaboklab(45.69% 0.1437 -0.0572)
OKLCHoklch(45.69% 0.155 338.3)
XYZxyz(14.4619, 8.3215, 17.3642)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A74 #2A8A40
analogous
#702A8A #8A2A74 #8A2A44
triadic
#8A2A74 #748A2A #2A748A
tetradic
#8A2A74 #8A702A #2A8A40 #2A448A
square
#8A2A74 #8A702A #2A8A40 #2A448A
split-complementary
#8A2A74 #448A2A #2A8A70
monochromatic
#2C0D25 #5B1C4D #8A2A74 #B9389B #CF60B5

Accessibility & contrast

On white

7.88
#8A2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A74
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A74#FFFFFF#000000##FFFFFF
##8A2A741.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4876
Deuteranopia (green-blind)
#4D5772
Tritanopia (blue-blind)
#922E4B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2a74;
/* rgb */ color: rgb(138, 42, 116);
/* oklch */ color: oklch(45.7% 0.155 338.3);
Tailwind
colors: {
  custom: {
    50: '#af6c9c',
    500: '#8a2a74',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a74;
$custom-light: #af6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a74",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 313.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.1547,
    "h": 338.3
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#8A2A74
secondary
#5BB470
accent
#DD6C4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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