#8D1F5C#8D1F5C

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

Color values

HEX#8D1F5C
RGBrgb(141, 31, 92)
HSLhsl(327, 64%, 34%)
HSVhsv(327, 78%, 55%)
CMYKcmyk(0%, 78%, 34.8%, 44.7%)
CIE-LABlab(32.74, 50.20, -8.69)
CIE-LCHlch(32.74, 50.95, 350.18°)
OKLaboklab(44.07% 0.1538 -0.0225)
OKLCHoklch(44.07% 0.155 351.7)
XYZxyz(13.4071, 7.4170, 10.8487)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F5C #1F8D50
analogous
#871F8D #8D1F5C #8D1F25
triadic
#8D1F5C #5C8D1F #1F5C8D
tetradic
#8D1F5C #8D871F #1F8D50 #1F258D
square
#8D1F5C #8D871F #1F8D50 #1F258D
split-complementary
#8D1F5C #258D1F #1F8D87
monochromatic
#29091B #5B143B #8D1F5C #BF2A7D #D84E9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1F5C#FFFFFF#000000##FFFFFF
##8D1F5C1.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)
#33405E
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#98153B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1f5c;
/* rgb */ color: rgb(141, 31, 92);
/* oklch */ color: oklch(44.1% 0.155 351.7);
Tailwind
colors: {
  custom: {
    50: '#b3668a',
    500: '#8d1f5c',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f5c;
$custom-light: #b3668a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f5c",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 326.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44072,
    "c": 0.15548,
    "h": 351.7
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#8D1F5C
secondary
#4DBB7E
accent
#E78B41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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