#8D1658#8D1658

#8D1658 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.162 H 353.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8D1658
RGBrgb(141, 22, 88)
HSLhsl(327, 73%, 32%)
HSVhsv(327, 84%, 55%)
CMYKcmyk(0%, 84.4%, 37.6%, 44.7%)
CIE-LABlab(31.68, 52.34, -7.69)
CIE-LCHlch(31.68, 52.90, 351.65°)
OKLaboklab(43.25% 0.161 -0.0197)
OKLCHoklch(43.25% 0.162 353)
XYZxyz(13.0337, 6.9428, 9.8844)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1658 #168D4B
analogous
#87168D #8D1658 #8D161C
triadic
#8D1658 #588D16 #16588D
tetradic
#8D1658 #8D8716 #168D4B #161C8D
square
#8D1658 #8D8716 #168D4B #161C8D
split-complementary
#8D1658 #1C8D16 #168D87
monochromatic
#230516 #580E37 #8D1658 #C21E79 #E13D98

Accessibility & contrast

On white

8.79
#8D1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8D1658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1658
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1658#FFFFFF#000000##FFFFFF
##8D16581.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1658;
/* rgb */ color: rgb(141, 22, 88);
/* oklch */ color: oklch(43.2% 0.162 353.0);
Tailwind
colors: {
  custom: {
    50: '#b36387',
    500: '#8d1658',
    950: '#000000',
  },
}
SCSS
$custom: #8d1658;
$custom-light: #b36387;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1658",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 326.723,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.16218,
    "h": 353
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#8D1658
secondary
#3EC178
accent
#F08A38
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1658

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

Preview Lab → · Contrast checker → · Palette generator →

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