#8D1D74#8D1D74

#8D1D74 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.172 H 339.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8D1D74
RGBrgb(141, 29, 116)
HSLhsl(313, 66%, 33%)
HSVhsv(313, 79%, 55%)
CMYKcmyk(0%, 79.4%, 17.7%, 44.7%)
CIE-LABlab(33.57, 53.97, -22.77)
CIE-LCHlch(33.57, 58.57, 337.12°)
OKLaboklab(45.02% 0.1605 -0.0617)
OKLCHoklch(45.02% 0.172 339)
XYZxyz(14.5766, 7.8039, 17.2582)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D74 #1D8D36
analogous
#6E1D8D #8D1D74 #8D1D3C
triadic
#8D1D74 #748D1D #1D748D
tetradic
#8D1D74 #8D6E1D #1D8D36 #1D3C8D
square
#8D1D74 #8D6E1D #1D8D36 #1D3C8D
split-complementary
#8D1D74 #3C8D1D #1D8D6E
monochromatic
#270820 #5A134A #8D1D74 #C0279E #DA4BBA

Accessibility & contrast

On white

8.20
#8D1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D74
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D74#FFFFFF#000000##FFFFFF
##8D1D741.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1d74;
/* rgb */ color: rgb(141, 29, 116);
/* oklch */ color: oklch(45.0% 0.172 339.0);
Tailwind
colors: {
  custom: {
    50: '#b2679c',
    500: '#8d1d74',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d74;
$custom-light: #b2679c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d74",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 313.393,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.17197,
    "h": 339
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#8D1D74
secondary
#4ABC63
accent
#E9653F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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