#8D1E5F#8D1E5F

#8D1E5F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.158 H 349.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8D1E5F
RGBrgb(141, 30, 95)
HSLhsl(325, 65%, 34%)
HSVhsv(325, 79%, 55%)
CMYKcmyk(0%, 78.7%, 32.6%, 44.7%)
CIE-LABlab(32.74, 50.88, -10.62)
CIE-LCHlch(32.74, 51.97, 348.21°)
OKLaboklab(44.11% 0.1557 -0.0277)
OKLCHoklch(44.11% 0.158 349.9)
XYZxyz(13.5151, 7.4191, 11.5446)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E5F #1E8D4C
analogous
#831E8D #8D1E5F #8D1E27
triadic
#8D1E5F #5F8D1E #1E5F8D
tetradic
#8D1E5F #8D831E #1E8D4C #1E278D
square
#8D1E5F #8D831E #1E8D4C #1E278D
split-complementary
#8D1E5F #278D1E #1E8D83
monochromatic
#28091B #5B133D #8D1E5F #BF2981 #D94C9F

Accessibility & contrast

On white

8.46
#8D1E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8D1E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E5F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E5F#FFFFFF#000000##FFFFFF
##8D1E5F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314061
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#98163C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1e5f;
/* rgb */ color: rgb(141, 30, 95);
/* oklch */ color: oklch(44.1% 0.158 349.9);
Tailwind
colors: {
  custom: {
    50: '#b3668c',
    500: '#8d1e5f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e5f;
$custom-light: #b3668c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e5f",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 324.865,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.1581,
    "h": 349.9
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#8D1E5F
secondary
#4BBC7A
accent
#E88640
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8D1E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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