#8D1F5E#8D1F5E

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

Color values

HEX#8D1F5E
RGBrgb(141, 31, 94)
HSLhsl(326, 64%, 34%)
HSVhsv(326, 78%, 55%)
CMYKcmyk(0%, 78%, 33.3%, 44.7%)
CIE-LABlab(32.82, 50.44, -9.87)
CIE-LCHlch(32.82, 51.39, 348.93°)
OKLaboklab(44.15% 0.1544 -0.0257)
OKLCHoklch(44.15% 0.157 350.6)
XYZxyz(13.4956, 7.4524, 11.3153)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F5E #1F8D4E
analogous
#851F8D #8D1F5E #8D1F27
triadic
#8D1F5E #5E8D1F #1F5E8D
tetradic
#8D1F5E #8D851F #1F8D4E #1F278D
square
#8D1F5E #8D851F #1F8D4E #1F278D
split-complementary
#8D1F5E #278D1F #1F8D85
monochromatic
#29091B #5B143D #8D1F5E #BF2A7F #D84E9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1F5E#FFFFFF#000000##FFFFFF
##8D1F5E1.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)
#324160
Deuteranopia (green-blind)
#52545C
Tritanopia (blue-blind)
#98173C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1f5e;
/* rgb */ color: rgb(141, 31, 94);
/* oklch */ color: oklch(44.2% 0.157 350.6);
Tailwind
colors: {
  custom: {
    50: '#b3678b',
    500: '#8d1f5e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f5e;
$custom-light: #b3678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f5e",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 325.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44154,
    "c": 0.15651,
    "h": 350.6
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#8D1F5E
secondary
#4DBB7C
accent
#E78841
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D1F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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