#8D1758#8D1758

#8D1758 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 353.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8D1758
RGBrgb(141, 23, 88)
HSLhsl(327, 72%, 32%)
HSVhsv(327, 84%, 55%)
CMYKcmyk(0%, 83.7%, 37.6%, 44.7%)
CIE-LABlab(31.77, 52.08, -7.55)
CIE-LCHlch(31.77, 52.63, 351.75°)
OKLaboklab(43.31% 0.1602 -0.0194)
OKLCHoklch(43.31% 0.161 353.1)
XYZxyz(13.0532, 6.9817, 9.8909)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1758 #178D4C
analogous
#87178D #8D1758 #8D171D
triadic
#8D1758 #588D17 #17588D
tetradic
#8D1758 #8D8717 #178D4C #171D8D
square
#8D1758 #8D8717 #178D4C #171D8D
split-complementary
#8D1758 #1D8D17 #178D87
monochromatic
#240616 #580E37 #8D1758 #C22079 #E03F97

Accessibility & contrast

On white

8.76
#8D1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8D1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1758
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1758#FFFFFF#000000##FFFFFF
##8D17581.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D5A
Deuteranopia (green-blind)
#515255
Tritanopia (blue-blind)
#990536
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1758;
/* rgb */ color: rgb(141, 23, 88);
/* oklch */ color: oklch(43.3% 0.161 353.1);
Tailwind
colors: {
  custom: {
    50: '#b36487',
    500: '#8d1758',
    950: '#000000',
  },
}
SCSS
$custom: #8d1758;
$custom-light: #b36487;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1758",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 326.949,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.16133,
    "h": 353.1
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#8D1758
secondary
#40C079
accent
#EF8B39
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1758

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

Preview Lab → · Contrast checker → · Palette generator →

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