#8B286A#8B286A

#8B286A is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.151 H 344.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8B286A
RGBrgb(139, 40, 106)
HSLhsl(320, 55%, 35%)
HSVhsv(320, 71%, 55%)
CMYKcmyk(0%, 71.2%, 23.7%, 45.5%)
CIE-LABlab(34.08, 48.23, -15.66)
CIE-LCHlch(34.08, 50.71, 342.01°)
OKLaboklab(45.17% 0.1453 -0.0418)
OKLCHoklch(45.17% 0.151 344)
XYZxyz(14.0083, 8.0486, 14.4487)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B286A #288B49
analogous
#7A288B #8B286A #8B2839
triadic
#8B286A #6A8B28 #286A8B
tetradic
#8B286A #8B7A28 #288B49 #28398B
square
#8B286A #8B7A28 #288B49 #28398B
split-complementary
#8B286A #398B28 #288B7A
monochromatic
#2C0D22 #5B1A46 #8B286A #BB368E #D05DAA

Accessibility & contrast

On white

8.05
#8B286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B286A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B286A#FFFFFF#000000##FFFFFF
##8B286A1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#942845
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b286a;
/* rgb */ color: rgb(139, 40, 106);
/* oklch */ color: oklch(45.2% 0.151 344.0);
Tailwind
colors: {
  custom: {
    50: '#b06b94',
    500: '#8b286a',
    950: '#000000',
  },
}
SCSS
$custom: #8b286a;
$custom-light: #b06b94;
$custom-dark: #000000;
JSON
{
  "hex": "#8b286a",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 320,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.15119,
    "h": 344
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#8B286A
secondary
#59B678
accent
#DF7B49
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B286A

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

Preview Lab → · Contrast checker → · Palette generator →

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