#8D1C74#8D1C74

#8D1C74 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.173 H 338.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D1C74
RGBrgb(141, 28, 116)
HSLhsl(313, 67%, 33%)
HSVhsv(313, 80%, 55%)
CMYKcmyk(0%, 80.1%, 17.7%, 44.7%)
CIE-LABlab(33.47, 54.26, -22.93)
CIE-LCHlch(33.47, 58.91, 337.09°)
OKLaboklab(44.95% 0.1614 -0.0621)
OKLCHoklch(44.95% 0.173 338.9)
XYZxyz(14.5525, 7.7556, 17.2502)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C74 #1C8D35
analogous
#6D1C8D #8D1C74 #8D1C3C
triadic
#8D1C74 #748D1C #1C748D
tetradic
#8D1C74 #8D6D1C #1C8D35 #1C3C8D
square
#8D1C74 #8D6D1C #1C8D35 #1C3C8D
split-complementary
#8D1C74 #3C8D1C #1C8D6D
monochromatic
#270820 #5A124A #8D1C74 #C0269E #DB49BA

Accessibility & contrast

On white

8.23
#8D1C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D1C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C74
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C74#FFFFFF#000000##FFFFFF
##8D1C741.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#952247
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1c74;
/* rgb */ color: rgb(141, 28, 116);
/* oklch */ color: oklch(44.9% 0.173 338.9);
Tailwind
colors: {
  custom: {
    50: '#b2669c',
    500: '#8d1c74',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c74;
$custom-light: #b2669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c74",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 313.274,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.17295,
    "h": 338.9
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#8D1C74
secondary
#48BD62
accent
#EA643E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1C74

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

Preview Lab → · Contrast checker → · Palette generator →

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