#8D2178#8D2178

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

Color values

HEX#8D2178
RGBrgb(141, 33, 120)
HSLhsl(312, 62%, 34%)
HSVhsv(312, 77%, 55%)
CMYKcmyk(0%, 76.6%, 14.9%, 44.7%)
CIE-LABlab(34.21, 53.31, -24.30)
CIE-LCHlch(34.21, 58.58, 335.49°)
OKLaboklab(45.54% 0.1572 -0.0661)
OKLCHoklch(45.54% 0.171 337.2)
XYZxyz(14.9188, 8.1079, 18.5449)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2178 #218D36
analogous
#6C218D #8D2178 #8D2142
triadic
#8D2178 #788D21 #21788D
tetradic
#8D2178 #8D6C21 #218D36 #21428D
square
#8D2178 #8D6C21 #218D36 #21428D
split-complementary
#8D2178 #428D21 #218D6C
monochromatic
#2A0A24 #5B154E #8D2178 #BF2DA2 #D652BD

Accessibility & contrast

On white

8.01
#8D2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D2178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2178
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2178#FFFFFF#000000##FFFFFF
##8D21781.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#95284A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2178;
/* rgb */ color: rgb(141, 33, 120);
/* oklch */ color: oklch(45.5% 0.171 337.2);
Tailwind
colors: {
  custom: {
    50: '#b2689f',
    500: '#8d2178',
    950: '#000000',
  },
}
SCSS
$custom: #8d2178;
$custom-light: #b2689f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2178",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 311.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.17054,
    "h": 337.2
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#8D2178
secondary
#50BA64
accent
#E56243
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2178

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

Preview Lab → · Contrast checker → · Palette generator →

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