#8D1E76#8D1E76

#8D1E76 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.172 H 338.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8D1E76
RGBrgb(141, 30, 118)
HSLhsl(312, 65%, 34%)
HSVhsv(312, 79%, 55%)
CMYKcmyk(0%, 78.7%, 16.3%, 44.7%)
CIE-LABlab(33.78, 53.96, -23.71)
CIE-LCHlch(33.78, 58.94, 336.27°)
OKLaboklab(45.2% 0.1598 -0.0644)
OKLCHoklch(45.2% 0.172 338.1)
XYZxyz(14.7191, 7.9007, 17.8858)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E76 #1E8D35
analogous
#6C1E8D #8D1E76 #8D1E3F
triadic
#8D1E76 #768D1E #1E768D
tetradic
#8D1E76 #8D6C1E #1E8D35 #1E3F8D
square
#8D1E76 #8D6C1E #1E8D35 #1E3F8D
split-complementary
#8D1E76 #3F8D1E #1E8D6C
monochromatic
#280922 #5B134C #8D1E76 #BF29A0 #D94CBC

Accessibility & contrast

On white

8.14
#8D1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E76
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E76#FFFFFF#000000##FFFFFF
##8D1E761.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234578
Deuteranopia (green-blind)
#4A5573
Tritanopia (blue-blind)
#952448
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1e76;
/* rgb */ color: rgb(141, 30, 118);
/* oklch */ color: oklch(45.2% 0.172 338.1);
Tailwind
colors: {
  custom: {
    50: '#b2679e',
    500: '#8d1e76',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e76;
$custom-light: #b2679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e76",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 312.432,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.17233,
    "h": 338.1
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#8D1E76
secondary
#4BBC63
accent
#E86340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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