#8D1F5B#8D1F5B

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

Color values

HEX#8D1F5B
RGBrgb(141, 31, 91)
HSLhsl(327, 64%, 34%)
HSVhsv(327, 78%, 55%)
CMYKcmyk(0%, 78%, 35.5%, 44.7%)
CIE-LABlab(32.70, 50.08, -8.10)
CIE-LCHlch(32.70, 50.73, 350.82°)
OKLaboklab(44.03% 0.1536 -0.0209)
OKLCHoklch(44.03% 0.155 352.3)
XYZxyz(13.3636, 7.3996, 10.6200)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F5B #1F8D51
analogous
#881F8D #8D1F5B #8D1F24
triadic
#8D1F5B #5B8D1F #1F5B8D
tetradic
#8D1F5B #8D881F #1F8D51 #1F248D
square
#8D1F5B #8D881F #1F8D51 #1F248D
split-complementary
#8D1F5B #248D1F #1F8D88
monochromatic
#29091A #5B143B #8D1F5B #BF2A7B #D84E99

Accessibility & contrast

On white

8.47
#8D1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F5B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F5B#FFFFFF#000000##FFFFFF
##8D1F5B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405D
Deuteranopia (green-blind)
#535459
Tritanopia (blue-blind)
#98153A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8d1f5b;
/* rgb */ color: rgb(141, 31, 91);
/* oklch */ color: oklch(44.0% 0.155 352.3);
Tailwind
colors: {
  custom: {
    50: '#b36689',
    500: '#8d1f5b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f5b;
$custom-light: #b36689;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f5b",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 327.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.15499,
    "h": 352.3
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#8D1F5B
secondary
#4DBB7F
accent
#E78C41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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