#8D286F#8D286F

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

Color values

HEX#8D286F
RGBrgb(141, 40, 111)
HSLhsl(318, 56%, 35%)
HSVhsv(318, 72%, 55%)
CMYKcmyk(0%, 71.6%, 21.3%, 44.7%)
CIE-LABlab(34.66, 49.50, -17.92)
CIE-LCHlch(34.66, 52.64, 340.10°)
OKLaboklab(45.73% 0.1484 -0.0481)
OKLCHoklch(45.73% 0.156 342)
XYZxyz(14.6130, 8.3294, 15.8740)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D286F #288D46
analogous
#78288D #8D286F #8D283C
triadic
#8D286F #6F8D28 #286F8D
tetradic
#8D286F #8D7828 #288D46 #283C8D
square
#8D286F #8D7828 #288D46 #283C8D
split-complementary
#8D286F #3C8D28 #288D78
monochromatic
#2E0D24 #5D1A49 #8D286F #BD3695 #D15EAF

Accessibility & contrast

On white

7.88
#8D286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D286F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D286F#FFFFFF#000000##FFFFFF
##8D286F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#50576D
Tritanopia (blue-blind)
#962948
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d286f;
/* rgb */ color: rgb(141, 40, 111);
/* oklch */ color: oklch(45.7% 0.156 342.0);
Tailwind
colors: {
  custom: {
    50: '#b26b98',
    500: '#8d286f',
    950: '#000000',
  },
}
SCSS
$custom: #8d286f;
$custom-light: #b26b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8d286f",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 317.822,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.15594,
    "h": 342
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#8D286F
secondary
#5AB776
accent
#DF7549
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D286F

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

Preview Lab → · Contrast checker → · Palette generator →

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