#8D2579#8D2579

#8D2579 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.167 H 336.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8D2579
RGBrgb(141, 37, 121)
HSLhsl(312, 58%, 35%)
HSVhsv(312, 74%, 55%)
CMYKcmyk(0%, 73.8%, 14.2%, 44.7%)
CIE-LABlab(34.74, 52.09, -24.10)
CIE-LCHlch(34.74, 57.39, 335.17°)
OKLaboklab(45.94% 0.1532 -0.0655)
OKLCHoklch(45.94% 0.167 336.8)
XYZxyz(15.0975, 8.3677, 18.9055)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2579 #258D39
analogous
#6D258D #8D2579 #8D2545
triadic
#8D2579 #798D25 #25798D
tetradic
#8D2579 #8D6D25 #258D39 #25458D
square
#8D2579 #8D6D25 #258D39 #25458D
split-complementary
#8D2579 #458D25 #258D6D
monochromatic
#2C0C26 #5D184F #8D2579 #BD32A3 #D359BC

Accessibility & contrast

On white

7.86
#8D2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2579
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2579#FFFFFF#000000##FFFFFF
##8D25791.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#4B5777
Tritanopia (blue-blind)
#952B4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2579;
/* rgb */ color: rgb(141, 37, 121);
/* oklch */ color: oklch(45.9% 0.167 336.8);
Tailwind
colors: {
  custom: {
    50: '#b26aa0',
    500: '#8d2579',
    950: '#000000',
  },
}
SCSS
$custom: #8d2579;
$custom-light: #b26aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2579",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 311.538,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.16667,
    "h": 336.8
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#8D2579
secondary
#56B869
accent
#E26446
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2579

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

Preview Lab → · Contrast checker → · Palette generator →

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