#8A204C#8A204C

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

Color values

HEX#8A204C
RGBrgb(138, 32, 76)
HSLhsl(335, 62%, 33%)
HSVhsv(335, 77%, 54%)
CMYKcmyk(0%, 76.8%, 44.9%, 45.9%)
CIE-LABlab(31.71, 47.26, 0.17)
CIE-LCHlch(31.71, 47.26, 0.20°)
OKLaboklab(43.03% 0.1451 0.001)
OKLCHoklch(43.03% 0.145 0.4)
XYZxyz(12.3032, 6.9597, 7.5316)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A204C #208A5E
analogous
#8A2081 #8A204C #8A2920
triadic
#8A204C #4C8A20 #204C8A
tetradic
#8A204C #818A20 #208A5E #29208A
square
#8A204C #818A20 #208A5E #29208A
split-complementary
#8A204C #208A29 #20818A
monochromatic
#270915 #581431 #8A204C #BC2C67 #D64E87

Accessibility & contrast

On white

8.78
#8A204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A204C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A204C#FFFFFF#000000##FFFFFF
##8A204C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4D
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#960D33
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a204c;
/* rgb */ color: rgb(138, 32, 76);
/* oklch */ color: oklch(43.0% 0.145 0.4);
Tailwind
colors: {
  custom: {
    50: '#b1667d',
    500: '#8a204c',
    950: '#000000',
  },
}
SCSS
$custom: #8a204c;
$custom-light: #b1667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a204c",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 335.094,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.14505,
    "h": 0.4
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#8A204C
secondary
#4DB98C
accent
#E5A242
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A204C

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

Preview Lab → · Contrast checker → · Palette generator →

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