#8A2A73#8A2A73

#8A2A73 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.154 H 338.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A2A73
RGBrgb(138, 42, 115)
HSLhsl(314, 53%, 35%)
HSVhsv(314, 70%, 54%)
CMYKcmyk(0%, 69.6%, 16.7%, 45.9%)
CIE-LABlab(34.60, 48.49, -20.58)
CIE-LCHlch(34.60, 52.67, 337.00°)
OKLaboklab(45.65% 0.1436 -0.0556)
OKLCHoklch(45.65% 0.154 338.8)
XYZxyz(14.4040, 8.2983, 17.0595)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A73 #2A8A41
analogous
#712A8A #8A2A73 #8A2A43
triadic
#8A2A73 #738A2A #2A738A
tetradic
#8A2A73 #8A712A #2A8A41 #2A438A
square
#8A2A73 #8A712A #2A8A41 #2A438A
split-complementary
#8A2A73 #438A2A #2A8A71
monochromatic
#2C0D25 #5B1C4C #8A2A73 #B9389A #CF60B4

Accessibility & contrast

On white

7.90
#8A2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2A73
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A73#FFFFFF#000000##FFFFFF
##8A2A731.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#922E4A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2a73;
/* rgb */ color: rgb(138, 42, 115);
/* oklch */ color: oklch(45.6% 0.154 338.8);
Tailwind
colors: {
  custom: {
    50: '#af6c9b',
    500: '#8a2a73',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a73;
$custom-light: #af6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a73",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 314.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.15398,
    "h": 338.8
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#8A2A73
secondary
#5BB471
accent
#DD6E4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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