#8D1768#8D1768

#8D1768 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.170 H 344.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8D1768
RGBrgb(141, 23, 104)
HSLhsl(319, 72%, 32%)
HSVhsv(319, 84%, 55%)
CMYKcmyk(0%, 83.7%, 26.2%, 44.7%)
CIE-LABlab(32.43, 53.99, -16.90)
CIE-LCHlch(32.43, 56.57, 342.62°)
OKLaboklab(44.01% 0.1638 -0.0451)
OKLCHoklch(44.01% 0.17 344.6)
XYZxyz(13.7902, 7.2765, 13.7723)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1768 #178D3C
analogous
#77178D #8D1768 #8D172D
triadic
#8D1768 #688D17 #17688D
tetradic
#8D1768 #8D7717 #178D3C #172D8D
square
#8D1768 #8D7717 #178D3C #172D8D
split-complementary
#8D1768 #2D8D17 #178D77
monochromatic
#24061A #580E41 #8D1768 #C2208F #E03FAD

Accessibility & contrast

On white

8.55
#8D1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8D1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1768
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1768#FFFFFF#000000##FFFFFF
##8D17681.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28406A
Deuteranopia (green-blind)
#4D5365
Tritanopia (blue-blind)
#97153F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1768;
/* rgb */ color: rgb(141, 23, 104);
/* oklch */ color: oklch(44.0% 0.170 344.6);
Tailwind
colors: {
  custom: {
    50: '#b36493',
    500: '#8d1768',
    950: '#000000',
  },
}
SCSS
$custom: #8d1768;
$custom-light: #b36493;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1768",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 318.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44011,
    "c": 0.16991,
    "h": 344.6
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#8D1768
secondary
#40C068
accent
#EF7239
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8D1768

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

Preview Lab → · Contrast checker → · Palette generator →

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