#8D1E72#8D1E72

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

Color values

HEX#8D1E72
RGBrgb(141, 30, 114)
HSLhsl(315, 65%, 34%)
HSVhsv(315, 79%, 55%)
CMYKcmyk(0%, 78.7%, 19.1%, 44.7%)
CIE-LABlab(33.58, 53.38, -21.49)
CIE-LCHlch(33.58, 57.54, 338.07°)
OKLaboklab(44.99% 0.1594 -0.0581)
OKLCHoklch(44.99% 0.17 340)
XYZxyz(14.4865, 7.8076, 16.6604)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E72 #1E8D39
analogous
#701E8D #8D1E72 #8D1E3A
triadic
#8D1E72 #728D1E #1E728D
tetradic
#8D1E72 #8D701E #1E8D39 #1E3A8D
square
#8D1E72 #8D701E #1E8D39 #1E3A8D
split-complementary
#8D1E72 #3A8D1E #1E8D70
monochromatic
#280920 #5B1349 #8D1E72 #BF299B #D94CB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1E72#FFFFFF#000000##FFFFFF
##8D1E721.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)
#264474
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#962246
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1e72;
/* rgb */ color: rgb(141, 30, 114);
/* oklch */ color: oklch(45.0% 0.170 340.0);
Tailwind
colors: {
  custom: {
    50: '#b2679a',
    500: '#8d1e72',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e72;
$custom-light: #b2679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e72",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 314.595,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.1696,
    "h": 340
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#8D1E72
secondary
#4BBC67
accent
#E86940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8D1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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