#8B286B#8B286B

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

Color values

HEX#8B286B
RGBrgb(139, 40, 107)
HSLhsl(319, 55%, 35%)
HSVhsv(319, 71%, 55%)
CMYKcmyk(0%, 71.2%, 23%, 45.5%)
CIE-LABlab(34.13, 48.37, -16.23)
CIE-LCHlch(34.13, 51.02, 341.45°)
OKLaboklab(45.22% 0.1455 -0.0434)
OKLCHoklch(45.22% 0.152 343.4)
XYZxyz(14.0606, 8.0695, 14.7241)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B286B #288B48
analogous
#79288B #8B286B #8B2839
triadic
#8B286B #6B8B28 #286B8B
tetradic
#8B286B #8B7928 #288B48 #28398B
square
#8B286B #8B7928 #288B48 #28398B
split-complementary
#8B286B #398B28 #288B79
monochromatic
#2C0D22 #5B1A46 #8B286B #BB3690 #D05DAB

Accessibility & contrast

On white

8.03
#8B286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B286B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B286B#FFFFFF#000000##FFFFFF
##8B286B1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#942846
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b286b;
/* rgb */ color: rgb(139, 40, 107);
/* oklch */ color: oklch(45.2% 0.152 343.4);
Tailwind
colors: {
  custom: {
    50: '#b06b95',
    500: '#8b286b',
    950: '#000000',
  },
}
SCSS
$custom: #8b286b;
$custom-light: #b06b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8b286b",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 319.394,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.15184,
    "h": 343.4
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#8B286B
secondary
#59B677
accent
#DF7949
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B286B

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

Preview Lab → · Contrast checker → · Palette generator →

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