#8D2879#8D2879

#8D2879 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.163 H 336.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8D2879
RGBrgb(141, 40, 121)
HSLhsl(312, 56%, 35%)
HSVhsv(312, 72%, 55%)
CMYKcmyk(0%, 71.6%, 14.2%, 44.7%)
CIE-LABlab(35.13, 50.99, -23.49)
CIE-LCHlch(35.13, 56.14, 335.27°)
OKLaboklab(46.22% 0.15 -0.0638)
OKLCHoklch(46.22% 0.163 336.9)
XYZxyz(15.1947, 8.5621, 18.9379)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2879 #288D3C
analogous
#6E288D #8D2879 #8D2846
triadic
#8D2879 #798D28 #28798D
tetradic
#8D2879 #8D6E28 #288D3C #28468D
square
#8D2879 #8D6E28 #288D3C #28468D
split-complementary
#8D2879 #468D28 #288D6E
monochromatic
#2E0D27 #5D1A50 #8D2879 #BD36A2 #D15EBB

Accessibility & contrast

On white

7.74
#8D2879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D2879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2879
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2879#FFFFFF#000000##FFFFFF
##8D28791.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#952E4D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2879;
/* rgb */ color: rgb(141, 40, 121);
/* oklch */ color: oklch(46.2% 0.163 336.9);
Tailwind
colors: {
  custom: {
    50: '#b26ba0',
    500: '#8d2879',
    950: '#000000',
  },
}
SCSS
$custom: #8d2879;
$custom-light: #b26ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2879",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 311.881,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.16298,
    "h": 336.9
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#8D2879
secondary
#5AB76C
accent
#DF6649
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2879

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

Preview Lab → · Contrast checker → · Palette generator →

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