#8D286B#8D286B

#8D286B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.153 H 344.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8D286B
RGBrgb(141, 40, 107)
HSLhsl(320, 56%, 35%)
HSVhsv(320, 72%, 55%)
CMYKcmyk(0%, 71.6%, 24.1%, 44.7%)
CIE-LABlab(34.48, 48.93, -15.65)
CIE-LCHlch(34.48, 51.37, 342.26°)
OKLaboklab(45.55% 0.1475 -0.0417)
OKLCHoklch(45.55% 0.153 344.2)
XYZxyz(14.3977, 8.2433, 14.7399)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D286B #288D4A
analogous
#7C288D #8D286B #8D2838
triadic
#8D286B #6B8D28 #286B8D
tetradic
#8D286B #8D7C28 #288D4A #28388D
square
#8D286B #8D7C28 #288D4A #28388D
split-complementary
#8D286B #388D28 #288D7C
monochromatic
#2E0D23 #5D1A47 #8D286B #BD368F #D15EAB

Accessibility & contrast

On white

7.93
#8D286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D286B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D286B#FFFFFF#000000##FFFFFF
##8D286B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466D
Deuteranopia (green-blind)
#515769
Tritanopia (blue-blind)
#962746
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d286b;
/* rgb */ color: rgb(141, 40, 107);
/* oklch */ color: oklch(45.5% 0.153 344.2);
Tailwind
colors: {
  custom: {
    50: '#b26b95',
    500: '#8d286b',
    950: '#000000',
  },
}
SCSS
$custom: #8d286b;
$custom-light: #b26b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8d286b",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 320.198,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.15332,
    "h": 344.2
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#8D286B
secondary
#5AB779
accent
#DF7B49
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D286B

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

Preview Lab → · Contrast checker → · Palette generator →

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