#8B286C#8B286C

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

Color values

HEX#8B286C
RGBrgb(139, 40, 108)
HSLhsl(319, 55%, 35%)
HSVhsv(319, 71%, 55%)
CMYKcmyk(0%, 71.2%, 22.3%, 45.5%)
CIE-LABlab(34.17, 48.52, -16.80)
CIE-LCHlch(34.17, 51.34, 340.90°)
OKLaboklab(45.26% 0.1457 -0.0449)
OKLCHoklch(45.26% 0.153 342.9)
XYZxyz(14.1135, 8.0907, 15.0028)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B286C #288B47
analogous
#78288B #8B286C #8B283A
triadic
#8B286C #6C8B28 #286C8B
tetradic
#8B286C #8B7828 #288B47 #283A8B
square
#8B286C #8B7828 #288B47 #283A8B
split-complementary
#8B286C #3A8B28 #288B78
monochromatic
#2C0D22 #5B1A47 #8B286C #BB3691 #D05DAC

Accessibility & contrast

On white

8.02
#8B286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B286C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B286C#FFFFFF#000000##FFFFFF
##8B286C1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31466E
Deuteranopia (green-blind)
#4F566A
Tritanopia (blue-blind)
#942846
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b286c;
/* rgb */ color: rgb(139, 40, 108);
/* oklch */ color: oklch(45.3% 0.152 342.9);
Tailwind
colors: {
  custom: {
    50: '#b06b96',
    500: '#8b286c',
    950: '#000000',
  },
}
SCSS
$custom: #8b286c;
$custom-light: #b06b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8b286c",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 318.788,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45264,
    "c": 0.1525,
    "h": 342.9
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#8B286C
secondary
#59B676
accent
#DF7849
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B286C

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

Preview Lab → · Contrast checker → · Palette generator →

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