#8D1F5D#8D1F5D

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

Color values

HEX#8D1F5D
RGBrgb(141, 31, 93)
HSLhsl(326, 64%, 34%)
HSVhsv(326, 78%, 55%)
CMYKcmyk(0%, 78%, 34%, 44.7%)
CIE-LABlab(32.78, 50.32, -9.28)
CIE-LCHlch(32.78, 51.17, 349.55°)
OKLaboklab(44.11% 0.1541 -0.0241)
OKLCHoklch(44.11% 0.156 351.1)
XYZxyz(13.4511, 7.4346, 11.0805)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F5D #1F8D4F
analogous
#861F8D #8D1F5D #8D1F26
triadic
#8D1F5D #5D8D1F #1F5D8D
tetradic
#8D1F5D #8D861F #1F8D4F #1F268D
square
#8D1F5D #8D861F #1F8D4F #1F268D
split-complementary
#8D1F5D #268D1F #1F8D86
monochromatic
#29091B #5B143C #8D1F5D #BF2A7E #D84E9C

Accessibility & contrast

On white

8.45
#8D1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F5D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F5D#FFFFFF#000000##FFFFFF
##8D1F5D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#52545B
Tritanopia (blue-blind)
#98163B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1f5d;
/* rgb */ color: rgb(141, 31, 93);
/* oklch */ color: oklch(44.1% 0.156 351.1);
Tailwind
colors: {
  custom: {
    50: '#b3678b',
    500: '#8d1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f5d;
$custom-light: #b3678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f5d",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 326.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.15599,
    "h": 351.1
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#8D1F5D
secondary
#4DBB7D
accent
#E78941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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