#8A204D#8A204D

#8A204D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.145 H 359.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8A204D
RGBrgb(138, 32, 77)
HSLhsl(335, 62%, 33%)
HSVhsv(335, 77%, 54%)
CMYKcmyk(0%, 76.8%, 44.2%, 45.9%)
CIE-LABlab(31.75, 47.36, -0.44)
CIE-LCHlch(31.75, 47.36, 359.47°)
OKLaboklab(43.07% 0.1454 -0.0006)
OKLCHoklch(43.07% 0.145 359.8)
XYZxyz(12.3382, 6.9737, 7.7161)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A204D #208A5D
analogous
#8A2082 #8A204D #8A2820
triadic
#8A204D #4D8A20 #204D8A
tetradic
#8A204D #828A20 #208A5D #28208A
square
#8A204D #828A20 #208A5D #28208A
split-complementary
#8A204D #208A28 #20828A
monochromatic
#270916 #581431 #8A204D #BC2C69 #D64E88

Accessibility & contrast

On white

8.77
#8A204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A204D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A204D#FFFFFF#000000##FFFFFF
##8A204D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4E
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#960E34
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a204d;
/* rgb */ color: rgb(138, 32, 77);
/* oklch */ color: oklch(43.1% 0.145 359.8);
Tailwind
colors: {
  custom: {
    50: '#b1667e',
    500: '#8a204d',
    950: '#000000',
  },
}
SCSS
$custom: #8a204d;
$custom-light: #b1667e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a204d",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 334.528,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.1454,
    "h": 359.8
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#8A204D
secondary
#4DB98B
accent
#E5A042
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A204D

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

Preview Lab → · Contrast checker → · Palette generator →

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