#8D2978#8D2978

#8D2978 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.161 H 337.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8D2978
RGBrgb(141, 41, 120)
HSLhsl(313, 55%, 36%)
HSVhsv(313, 71%, 55%)
CMYKcmyk(0%, 70.9%, 14.9%, 44.7%)
CIE-LABlab(35.21, 50.45, -22.73)
CIE-LCHlch(35.21, 55.34, 335.75°)
OKLaboklab(46.27% 0.1487 -0.0617)
OKLCHoklch(46.27% 0.161 337.5)
XYZxyz(15.1679, 8.6060, 18.6279)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2978 #298D3E
analogous
#70298D #8D2978 #8D2946
triadic
#8D2978 #788D29 #29788D
tetradic
#8D2978 #8D7029 #298D3E #29468D
square
#8D2978 #8D7029 #298D3E #29468D
split-complementary
#8D2978 #468D29 #298D70
monochromatic
#2E0D27 #5E1B50 #8D2978 #BC37A0 #D160B9

Accessibility & contrast

On white

7.72
#8D2978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D2978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2978
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2978#FFFFFF#000000##FFFFFF
##8D29781.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2978;
/* rgb */ color: rgb(141, 41, 120);
/* oklch */ color: oklch(46.3% 0.161 337.5);
Tailwind
colors: {
  custom: {
    50: '#b26c9f',
    500: '#8d2978',
    950: '#000000',
  },
}
SCSS
$custom: #8d2978;
$custom-light: #b26c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2978",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 312.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.16097,
    "h": 337.5
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#8D2978
secondary
#5BB66F
accent
#DE694A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2978

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

Preview Lab → · Contrast checker → · Palette generator →

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