#8B286F#8B286F

#8B286F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.155 H 341.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8B286F
RGBrgb(139, 40, 111)
HSLhsl(317, 55%, 35%)
HSVhsv(317, 71%, 55%)
CMYKcmyk(0%, 71.2%, 20.1%, 45.5%)
CIE-LABlab(34.30, 48.95, -18.49)
CIE-LCHlch(34.30, 52.33, 339.30°)
OKLaboklab(45.41% 0.1463 -0.0497)
OKLCHoklch(45.41% 0.155 341.2)
XYZxyz(14.2759, 8.1556, 15.8582)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B286F #288B44
analogous
#76288B #8B286F #8B283D
triadic
#8B286F #6F8B28 #286F8B
tetradic
#8B286F #8B7628 #288B44 #283D8B
square
#8B286F #8B7628 #288B44 #283D8B
split-complementary
#8B286F #3D8B28 #288B76
monochromatic
#2C0D23 #5B1A49 #8B286F #BB3695 #D05DB0

Accessibility & contrast

On white

7.98
#8B286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B286F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B286F#FFFFFF#000000##FFFFFF
##8B286F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304671
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#942A48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b286f;
/* rgb */ color: rgb(139, 40, 111);
/* oklch */ color: oklch(45.4% 0.155 341.2);
Tailwind
colors: {
  custom: {
    50: '#b06b98',
    500: '#8b286f',
    950: '#000000',
  },
}
SCSS
$custom: #8b286f;
$custom-light: #b06b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8b286f",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 316.97,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.15452,
    "h": 341.2
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#8B286F
secondary
#59B673
accent
#DF7349
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B286F

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

Preview Lab → · Contrast checker → · Palette generator →

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