#8D2176#8D2176

#8D2176 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 338.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8D2176
RGBrgb(141, 33, 118)
HSLhsl(313, 62%, 34%)
HSVhsv(313, 77%, 55%)
CMYKcmyk(0%, 76.6%, 16.3%, 44.7%)
CIE-LABlab(34.11, 53.01, -23.20)
CIE-LCHlch(34.11, 57.86, 336.37°)
OKLaboklab(45.44% 0.157 -0.063)
OKLCHoklch(45.44% 0.169 338.1)
XYZxyz(14.7987, 8.0599, 17.9124)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2176 #218D38
analogous
#6E218D #8D2176 #8D2140
triadic
#8D2176 #768D21 #21768D
tetradic
#8D2176 #8D6E21 #218D38 #21408D
square
#8D2176 #8D6E21 #218D38 #21408D
split-complementary
#8D2176 #408D21 #218D6E
monochromatic
#2A0A23 #5B154C #8D2176 #BF2DA0 #D652BA

Accessibility & contrast

On white

8.04
#8D2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2176
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2176#FFFFFF#000000##FFFFFF
##8D21761.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264678
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#952749
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2176;
/* rgb */ color: rgb(141, 33, 118);
/* oklch */ color: oklch(45.4% 0.169 338.1);
Tailwind
colors: {
  custom: {
    50: '#b2689d',
    500: '#8d2176',
    950: '#000000',
  },
}
SCSS
$custom: #8d2176;
$custom-light: #b2689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2176",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 312.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45438,
    "c": 0.16913,
    "h": 338.1
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#8D2176
secondary
#50BA66
accent
#E56543
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2176

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

Preview Lab → · Contrast checker → · Palette generator →

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