#8D2174#8D2174

#8D2174 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.168 H 339.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8D2174
RGBrgb(141, 33, 116)
HSLhsl(314, 62%, 34%)
HSVhsv(314, 77%, 55%)
CMYKcmyk(0%, 76.6%, 17.7%, 44.7%)
CIE-LABlab(34.01, 52.71, -22.09)
CIE-LCHlch(34.01, 57.15, 337.27°)
OKLaboklab(45.34% 0.1567 -0.0598)
OKLCHoklch(45.34% 0.168 339.1)
XYZxyz(14.6811, 8.0128, 17.2931)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2174 #218D3A
analogous
#70218D #8D2174 #8D213E
triadic
#8D2174 #748D21 #21748D
tetradic
#8D2174 #8D7021 #218D3A #213E8D
square
#8D2174 #8D7021 #218D3A #213E8D
split-complementary
#8D2174 #3E8D21 #218D70
monochromatic
#2A0A22 #5B154B #8D2174 #BF2D9D #D652B8

Accessibility & contrast

On white

8.07
#8D2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2174
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2174#FFFFFF#000000##FFFFFF
##8D21741.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#4B5672
Tritanopia (blue-blind)
#952648
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d2174;
/* rgb */ color: rgb(141, 33, 116);
/* oklch */ color: oklch(45.3% 0.168 339.1);
Tailwind
colors: {
  custom: {
    50: '#b2689c',
    500: '#8d2174',
    950: '#000000',
  },
}
SCSS
$custom: #8d2174;
$custom-light: #b2689c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2174",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 313.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.16775,
    "h": 339.1
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#8D2174
secondary
#50BA68
accent
#E56843
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D2174

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

Preview Lab → · Contrast checker → · Palette generator →

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