#8B286D#8B286D

#8B286D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.153 H 342.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8B286D
RGBrgb(139, 40, 109)
HSLhsl(318, 55%, 35%)
HSVhsv(318, 71%, 55%)
CMYKcmyk(0%, 71.2%, 21.6%, 45.5%)
CIE-LABlab(34.22, 48.66, -17.36)
CIE-LCHlch(34.22, 51.66, 340.36°)
OKLaboklab(45.31% 0.1459 -0.0465)
OKLCHoklch(45.31% 0.153 342.3)
XYZxyz(14.1670, 8.1121, 15.2847)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B286D #288B46
analogous
#78288B #8B286D #8B283B
triadic
#8B286D #6D8B28 #286D8B
tetradic
#8B286D #8B7828 #288B46 #283B8B
square
#8B286D #8B7828 #288B46 #283B8B
split-complementary
#8B286D #3B8B28 #288B78
monochromatic
#2C0D22 #5B1A48 #8B286D #BB3692 #D05DAD

Accessibility & contrast

On white

8.01
#8B286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B286D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B286D#FFFFFF#000000##FFFFFF
##8B286D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#4F566B
Tritanopia (blue-blind)
#942947
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b286d;
/* rgb */ color: rgb(139, 40, 109);
/* oklch */ color: oklch(45.3% 0.153 342.3);
Tailwind
colors: {
  custom: {
    50: '#b06b97',
    500: '#8b286d',
    950: '#000000',
  },
}
SCSS
$custom: #8b286d;
$custom-light: #b06b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8b286d",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 318.182,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.15316,
    "h": 342.3
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#8B286D
secondary
#59B675
accent
#DF7649
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B286D

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

Preview Lab → · Contrast checker → · Palette generator →

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