#8D2E79#8D2E79

#8D2E79 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.155 H 337.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8D2E79
RGBrgb(141, 46, 121)
HSLhsl(313, 51%, 37%)
HSVhsv(313, 67%, 55%)
CMYKcmyk(0%, 67.4%, 14.2%, 44.7%)
CIE-LABlab(35.98, 48.60, -22.16)
CIE-LCHlch(35.98, 53.41, 335.49°)
OKLaboklab(46.85% 0.1428 -0.0601)
OKLCHoklch(46.85% 0.155 337.2)
XYZxyz(15.4129, 8.9985, 19.0106)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E79 #2E8D42
analogous
#722E8D #8D2E79 #8D2E4A
triadic
#8D2E79 #798D2E #2E798D
tetradic
#8D2E79 #8D722E #2E8D42 #2E4A8D
square
#8D2E79 #8D722E #2E8D42 #2E4A8D
split-complementary
#8D2E79 #4A8D2E #2E8D72
monochromatic
#31102A #5F1F51 #8D2E79 #BB3DA1 #CE68B8

Accessibility & contrast

On white

7.50
#8D2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E79
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E79#FFFFFF#000000##FFFFFF
##8D2E791.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#94334F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2e79;
/* rgb */ color: rgb(141, 46, 121);
/* oklch */ color: oklch(46.8% 0.155 337.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea0',
    500: '#8d2e79',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e79;
$custom-light: #b16ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e79",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 312.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46845,
    "c": 0.15497,
    "h": 337.2
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#8D2E79
secondary
#62B574
accent
#DA6B4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8D2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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