#8D287C#8D287C

#8D287C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.165 H 335.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8D287C
RGBrgb(141, 40, 124)
HSLhsl(310, 56%, 35%)
HSVhsv(310, 72%, 55%)
CMYKcmyk(0%, 71.6%, 12.1%, 44.7%)
CIE-LABlab(35.28, 51.46, -25.14)
CIE-LCHlch(35.28, 57.27, 333.97°)
OKLaboklab(46.38% 0.1503 -0.0685)
OKLCHoklch(46.38% 0.165 335.5)
XYZxyz(15.3816, 8.6369, 19.9219)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D287C #288D39
analogous
#6B288D #8D287C #8D2849
triadic
#8D287C #7C8D28 #287C8D
tetradic
#8D287C #8D6B28 #288D39 #28498D
square
#8D287C #8D6B28 #288D39 #28498D
split-complementary
#8D287C #498D28 #288D6B
monochromatic
#2E0D28 #5D1A52 #8D287C #BD36A6 #D15EBE

Accessibility & contrast

On white

7.70
#8D287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D287C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D287C#FFFFFF#000000##FFFFFF
##8D287C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#4B587A
Tritanopia (blue-blind)
#942F4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d287c;
/* rgb */ color: rgb(141, 40, 124);
/* oklch */ color: oklch(46.4% 0.165 335.5);
Tailwind
colors: {
  custom: {
    50: '#b26ba2',
    500: '#8d287c',
    950: '#000000',
  },
}
SCSS
$custom: #8d287c;
$custom-light: #b26ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d287c",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 310.099,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.16521,
    "h": 335.5
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#8D287C
secondary
#5AB76A
accent
#DF6249
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D287C

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

Preview Lab → · Contrast checker → · Palette generator →

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