#8D2158#8D2158

#8D2158 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.151 H 354.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8D2158
RGBrgb(141, 33, 88)
HSLhsl(329, 62%, 34%)
HSVhsv(329, 77%, 55%)
CMYKcmyk(0%, 76.6%, 37.6%, 44.7%)
CIE-LABlab(32.82, 49.07, -5.96)
CIE-LCHlch(32.82, 49.43, 353.07°)
OKLaboklab(44.09% 0.1506 -0.0151)
OKLCHoklch(44.09% 0.151 354.3)
XYZxyz(13.2907, 7.4566, 9.9700)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2158 #218D56
analogous
#8C218D #8D2158 #8D2122
triadic
#8D2158 #588D21 #21588D
tetradic
#8D2158 #8D8C21 #218D56 #21228D
square
#8D2158 #8D8C21 #218D56 #21228D
split-complementary
#8D2158 #228D21 #218D8C
monochromatic
#2A0A1A #5B1539 #8D2158 #BF2D77 #D65295

Accessibility & contrast

On white

8.43
#8D2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8D2158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2158
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2158#FFFFFF#000000##FFFFFF
##8D21581.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#545456
Tritanopia (blue-blind)
#981539
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d2158;
/* rgb */ color: rgb(141, 33, 88);
/* oklch */ color: oklch(44.1% 0.151 354.3);
Tailwind
colors: {
  custom: {
    50: '#b36787',
    500: '#8d2158',
    950: '#000000',
  },
}
SCSS
$custom: #8d2158;
$custom-light: #b36787;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2158",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 329.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.15135,
    "h": 354.3
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#8D2158
secondary
#50BA84
accent
#E59243
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8D2158

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

Preview Lab → · Contrast checker → · Palette generator →

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