#8D286E#8D286E

#8D286E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.155 H 342.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8D286E
RGBrgb(141, 40, 110)
HSLhsl(318, 56%, 35%)
HSVhsv(318, 72%, 55%)
CMYKcmyk(0%, 71.6%, 22%, 44.7%)
CIE-LABlab(34.62, 49.35, -17.35)
CIE-LCHlch(34.62, 52.31, 340.63°)
OKLaboklab(45.68% 0.1482 -0.0465)
OKLCHoklch(45.68% 0.155 342.6)
XYZxyz(14.5582, 8.3075, 15.5856)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D286E #288D47
analogous
#79288D #8D286E #8D283B
triadic
#8D286E #6E8D28 #286E8D
tetradic
#8D286E #8D7928 #288D47 #283B8D
square
#8D286E #8D7928 #288D47 #283B8D
split-complementary
#8D286E #3B8D28 #288D79
monochromatic
#2E0D24 #5D1A49 #8D286E #BD3693 #D15EAE

Accessibility & contrast

On white

7.89
#8D286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D286E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D286E#FFFFFF#000000##FFFFFF
##8D286E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314770
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#962947
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d286e;
/* rgb */ color: rgb(141, 40, 110);
/* oklch */ color: oklch(45.7% 0.155 342.6);
Tailwind
colors: {
  custom: {
    50: '#b26b97',
    500: '#8d286e',
    950: '#000000',
  },
}
SCSS
$custom: #8d286e;
$custom-light: #b26b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8d286e",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 318.416,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.15528,
    "h": 342.6
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#8D286E
secondary
#5AB777
accent
#DF7749
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D286E

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

Preview Lab → · Contrast checker → · Palette generator →

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