#8C204E#8C204E

#8C204E is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 359.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8C204E
RGBrgb(140, 32, 78)
HSLhsl(334, 63%, 34%)
HSVhsv(334, 77%, 55%)
CMYKcmyk(0%, 77.1%, 44.3%, 45.1%)
CIE-LABlab(32.17, 48.05, -0.43)
CIE-LCHlch(32.17, 48.05, 359.48°)
OKLaboklab(43.46% 0.1475 -0.0006)
OKLCHoklch(43.46% 0.148 359.8)
XYZxyz(12.7078, 7.1602, 7.9191)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C204E #208C5E
analogous
#8C2084 #8C204E #8C2820
triadic
#8C204E #4E8C20 #204E8C
tetradic
#8C204E #848C20 #208C5E #28208C
square
#8C204E #848C20 #208C5E #28208C
split-complementary
#8C204E #208C28 #20848C
monochromatic
#280916 #5A1532 #8C204E #BE2B6A #D75089

Accessibility & contrast

On white

8.64
#8C204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8C204E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C204E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C204E#FFFFFF#000000##FFFFFF
##8C204E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F4F
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#980D34
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8c204e;
/* rgb */ color: rgb(140, 32, 78);
/* oklch */ color: oklch(43.5% 0.148 359.8);
Tailwind
colors: {
  custom: {
    50: '#b2667f',
    500: '#8c204e',
    950: '#000000',
  },
}
SCSS
$custom: #8c204e;
$custom-light: #b2667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c204e",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 334.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.14752,
    "h": 359.8
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#8C204E
secondary
#4EBA8C
accent
#E6A042
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C204E

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

Preview Lab → · Contrast checker → · Palette generator →

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