#8B204C#8B204C

#8B204C is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.146 H 0.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8B204C
RGBrgb(139, 32, 76)
HSLhsl(335, 63%, 34%)
HSVhsv(335, 77%, 55%)
CMYKcmyk(0%, 77%, 45.3%, 45.5%)
CIE-LABlab(31.91, 47.55, 0.48)
CIE-LCHlch(31.91, 47.56, 0.57°)
OKLaboklab(43.21% 0.1459 0.0018)
OKLCHoklch(43.21% 0.146 0.7)
XYZxyz(12.4694, 7.0454, 7.5394)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B204C #208B5F
analogous
#8B2081 #8B204C #8B2920
triadic
#8B204C #4C8B20 #204C8B
tetradic
#8B204C #818B20 #208B5F #29208B
square
#8B204C #818B20 #208B5F #29208B
split-complementary
#8B204C #208B29 #20818B
monochromatic
#280916 #591531 #8B204C #BD2B67 #D64F87

Accessibility & contrast

On white

8.72
#8B204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B204C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B204C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B204C#FFFFFF#000000##FFFFFF
##8B204C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b204c;
/* rgb */ color: rgb(139, 32, 76);
/* oklch */ color: oklch(43.2% 0.146 0.7);
Tailwind
colors: {
  custom: {
    50: '#b2667d',
    500: '#8b204c',
    950: '#000000',
  },
}
SCSS
$custom: #8b204c;
$custom-light: #b2667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b204c",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 335.327,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.14595,
    "h": 0.7
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#8B204C
secondary
#4DBA8D
accent
#E6A242
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B204C

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

Preview Lab → · Contrast checker → · Palette generator →

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