#8B2056#8B2056

#8B2056 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.150 H 354.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8B2056
RGBrgb(139, 32, 86)
HSLhsl(330, 63%, 34%)
HSVhsv(330, 77%, 55%)
CMYKcmyk(0%, 77%, 38.1%, 45.5%)
CIE-LABlab(32.25, 48.62, -5.57)
CIE-LCHlch(32.25, 48.94, 353.47°)
OKLaboklab(43.57% 0.1493 -0.0141)
OKLCHoklch(43.57% 0.15 354.6)
XYZxyz(12.8445, 7.1955, 9.5148)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2056 #208B55
analogous
#8A208B #8B2056 #8B2020
triadic
#8B2056 #568B20 #20568B
tetradic
#8B2056 #8B8A20 #208B55 #20208B
square
#8B2056 #8B8A20 #208B55 #20208B
split-complementary
#8B2056 #208B20 #208B8A
monochromatic
#280918 #591537 #8B2056 #BD2B75 #D64F93

Accessibility & contrast

On white

8.61
#8B2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8B2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2056
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2056#FFFFFF#000000##FFFFFF
##8B20561.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F57
Deuteranopia (green-blind)
#535354
Tritanopia (blue-blind)
#961438
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b2056;
/* rgb */ color: rgb(139, 32, 86);
/* oklch */ color: oklch(43.6% 0.150 354.6);
Tailwind
colors: {
  custom: {
    50: '#b16685',
    500: '#8b2056',
    950: '#000000',
  },
}
SCSS
$custom: #8b2056;
$custom-light: #b16685;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2056",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 329.72,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.14991,
    "h": 354.6
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#8B2056
secondary
#4DBA83
accent
#E69342
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8B2056

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

Preview Lab → · Contrast checker → · Palette generator →

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