#8A204B#8A204B

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

Color values

HEX#8A204B
RGBrgb(138, 32, 75)
HSLhsl(336, 62%, 33%)
HSVhsv(336, 77%, 54%)
CMYKcmyk(0%, 76.8%, 45.7%, 45.9%)
CIE-LABlab(31.68, 47.16, 0.78)
CIE-LCHlch(31.68, 47.17, 0.95°)
OKLaboklab(43% 0.1447 0.0025)
OKLCHoklch(43% 0.145 1)
XYZxyz(12.2687, 6.9459, 7.3499)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A204B #208A5F
analogous
#8A2080 #8A204B #8A2A20
triadic
#8A204B #4B8A20 #204B8A
tetradic
#8A204B #808A20 #208A5F #2A208A
square
#8A204B #808A20 #208A5F #2A208A
split-complementary
#8A204B #208A2A #20808A
monochromatic
#270915 #581430 #8A204B #BC2C66 #D64E85

Accessibility & contrast

On white

8.79
#8A204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A204B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A204B#FFFFFF#000000##FFFFFF
##8A204B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4C
Deuteranopia (green-blind)
#555249
Tritanopia (blue-blind)
#960D33
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a204b;
/* rgb */ color: rgb(138, 32, 75);
/* oklch */ color: oklch(43.0% 0.145 1.0);
Tailwind
colors: {
  custom: {
    50: '#b1667d',
    500: '#8a204b',
    950: '#000000',
  },
}
SCSS
$custom: #8a204b;
$custom-light: #b1667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a204b",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 335.66,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.14471,
    "h": 1
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#8A204B
secondary
#4DB98D
accent
#E5A342
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #8A204B

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

Preview Lab → · Contrast checker → · Palette generator →

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