#8D2157#8D2157

#8D2157 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.151 H 354.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8D2157
RGBrgb(141, 33, 87)
HSLhsl(330, 62%, 34%)
HSVhsv(330, 77%, 55%)
CMYKcmyk(0%, 76.6%, 38.3%, 44.7%)
CIE-LABlab(32.79, 48.96, -5.37)
CIE-LCHlch(32.79, 49.25, 353.74°)
OKLaboklab(44.05% 0.1503 -0.0135)
OKLCHoklch(44.05% 0.151 354.8)
XYZxyz(13.2495, 7.4402, 9.7534)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2157 #218D57
analogous
#8D218D #8D2157 #8D2121
triadic
#8D2157 #578D21 #21578D
tetradic
#8D2157 #8D8D21 #218D57 #21218D
square
#8D2157 #8D8D21 #218D57 #21218D
split-complementary
#8D2157 #218D21 #218D8D
monochromatic
#2A0A1A #5B1538 #8D2157 #BF2D76 #D65294

Accessibility & contrast

On white

8.44
#8D2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2157
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2157#FFFFFF#000000##FFFFFF
##8D21571.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2157;
/* rgb */ color: rgb(141, 33, 87);
/* oklch */ color: oklch(44.0% 0.151 354.8);
Tailwind
colors: {
  custom: {
    50: '#b36786',
    500: '#8d2157',
    950: '#000000',
  },
}
SCSS
$custom: #8d2157;
$custom-light: #b36786;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2157",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 330,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.1509,
    "h": 354.8
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#8D2157
secondary
#50BA85
accent
#E59443
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8D2157

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

Preview Lab → · Contrast checker → · Palette generator →

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