#8D2979#8D2979

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

Color values

HEX#8D2979
RGBrgb(141, 41, 121)
HSLhsl(312, 55%, 36%)
HSVhsv(312, 71%, 55%)
CMYKcmyk(0%, 70.9%, 14.2%, 44.7%)
CIE-LABlab(35.26, 50.61, -23.28)
CIE-LCHlch(35.26, 55.71, 335.30°)
OKLaboklab(46.32% 0.1488 -0.0632)
OKLCHoklch(46.32% 0.162 337)
XYZxyz(15.2289, 8.6304, 18.9492)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2979 #298D3D
analogous
#6F298D #8D2979 #8D2947
triadic
#8D2979 #798D29 #29798D
tetradic
#8D2979 #8D6F29 #298D3D #29478D
square
#8D2979 #8D6F29 #298D3D #29478D
split-complementary
#8D2979 #478D29 #298D6F
monochromatic
#2E0D28 #5E1B50 #8D2979 #BC37A2 #D160BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2979#FFFFFF#000000##FFFFFF
##8D29791.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)
#2C497B
Deuteranopia (green-blind)
#4D5877
Tritanopia (blue-blind)
#952F4D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2979;
/* rgb */ color: rgb(141, 41, 121);
/* oklch */ color: oklch(46.3% 0.162 337.0);
Tailwind
colors: {
  custom: {
    50: '#b26ca0',
    500: '#8d2979',
    950: '#000000',
  },
}
SCSS
$custom: #8d2979;
$custom-light: #b26ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2979",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 312,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46322,
    "c": 0.1617,
    "h": 337
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#8D2979
secondary
#5BB66E
accent
#DE674A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2979

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

Preview Lab → · Contrast checker → · Palette generator →

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