#8A204A#8A204A

#8A204A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.144 H 1.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8A204A
RGBrgb(138, 32, 74)
HSLhsl(336, 62%, 33%)
HSVhsv(336, 77%, 54%)
CMYKcmyk(0%, 76.8%, 46.4%, 45.9%)
CIE-LABlab(31.65, 47.06, 1.39)
CIE-LCHlch(31.65, 47.08, 1.69°)
OKLaboklab(42.97% 0.1443 0.0041)
OKLCHoklch(42.97% 0.144 1.6)
XYZxyz(12.2347, 6.9323, 7.1710)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A204A #208A60
analogous
#8A207F #8A204A #8A2B20
triadic
#8A204A #4A8A20 #204A8A
tetradic
#8A204A #7F8A20 #208A60 #2B208A
square
#8A204A #7F8A20 #208A60 #2B208A
split-complementary
#8A204A #208A2B #207F8A
monochromatic
#270915 #58142F #8A204A #BC2C65 #D64E84

Accessibility & contrast

On white

8.80
#8A204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A204A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A204A#FFFFFF#000000##FFFFFF
##8A204A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#555248
Tritanopia (blue-blind)
#960C32
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a204a;
/* rgb */ color: rgb(138, 32, 74);
/* oklch */ color: oklch(43.0% 0.144 1.6);
Tailwind
colors: {
  custom: {
    50: '#b1667c',
    500: '#8a204a',
    950: '#000000',
  },
}
SCSS
$custom: #8a204a;
$custom-light: #b1667c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a204a",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 336.226,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.14439,
    "h": 1.6
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#8A204A
secondary
#4DB98E
accent
#E5A542
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A204A

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

Preview Lab → · Contrast checker → · Palette generator →

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