#8D1F4C#8D1F4C

#8D1F4C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.149 H 1.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8D1F4C
RGBrgb(141, 31, 76)
HSLhsl(335, 64%, 34%)
HSVhsv(335, 78%, 55%)
CMYKcmyk(0%, 78%, 46.1%, 44.7%)
CIE-LABlab(32.18, 48.47, 0.92)
CIE-LCHlch(32.18, 48.48, 1.09°)
OKLaboklab(43.48% 0.1488 0.0029)
OKLCHoklch(43.48% 0.149 1.1)
XYZxyz(12.7800, 7.1662, 7.5463)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F4C #1F8D60
analogous
#8D1F83 #8D1F4C #8D291F
triadic
#8D1F4C #4C8D1F #1F4C8D
tetradic
#8D1F4C #838D1F #1F8D60 #291F8D
square
#8D1F4C #838D1F #1F8D60 #291F8D
split-complementary
#8D1F4C #1F8D29 #1F838D
monochromatic
#290916 #5B1431 #8D1F4C #BF2A67 #D84E87

Accessibility & contrast

On white

8.63
#8D1F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8D1F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F4C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F4C#FFFFFF#000000##FFFFFF
##8D1F4C1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4D
Deuteranopia (green-blind)
#565349
Tritanopia (blue-blind)
#990833
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f4c;
/* rgb */ color: rgb(141, 31, 76);
/* oklch */ color: oklch(43.5% 0.149 1.1);
Tailwind
colors: {
  custom: {
    50: '#b3667d',
    500: '#8d1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f4c;
$custom-light: #b3667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f4c",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 335.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.1488,
    "h": 1.1
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#8D1F4C
secondary
#4DBB8E
accent
#E7A341
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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