#8D2179#8D2179

#8D2179 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.171 H 336.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8D2179
RGBrgb(141, 33, 121)
HSLhsl(311, 62%, 34%)
HSVhsv(311, 77%, 55%)
CMYKcmyk(0%, 76.6%, 14.2%, 44.7%)
CIE-LABlab(34.26, 53.46, -24.85)
CIE-LCHlch(34.26, 58.95, 335.07°)
OKLaboklab(45.6% 0.1573 -0.0677)
OKLCHoklch(45.6% 0.171 336.7)
XYZxyz(14.9798, 8.1323, 18.8662)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2179 #218D35
analogous
#6B218D #8D2179 #8D2143
triadic
#8D2179 #798D21 #21798D
tetradic
#8D2179 #8D6B21 #218D35 #21438D
square
#8D2179 #8D6B21 #218D35 #21438D
split-complementary
#8D2179 #438D21 #218D6B
monochromatic
#2A0A24 #5B154E #8D2179 #BF2DA4 #D652BE

Accessibility & contrast

On white

8.00
#8D2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2179
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2179#FFFFFF#000000##FFFFFF
##8D21791.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#95284B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2179;
/* rgb */ color: rgb(141, 33, 121);
/* oklch */ color: oklch(45.6% 0.171 336.7);
Tailwind
colors: {
  custom: {
    50: '#b268a0',
    500: '#8d2179',
    950: '#000000',
  },
}
SCSS
$custom: #8d2179;
$custom-light: #b268a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2179",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 311.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45595,
    "c": 0.17125,
    "h": 336.7
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#8D2179
secondary
#50BA63
accent
#E56143
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2179

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

Preview Lab → · Contrast checker → · Palette generator →

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