#8D1F4A#8D1F4A

#8D1F4A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.148 H 2.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#8D1F4A
RGBrgb(141, 31, 74)
HSLhsl(337, 64%, 34%)
HSVhsv(337, 78%, 55%)
CMYKcmyk(0%, 78%, 47.5%, 44.7%)
CIE-LABlab(32.12, 48.28, 2.14)
CIE-LCHlch(32.12, 48.33, 2.54°)
OKLaboklab(43.42% 0.148 0.006)
OKLCHoklch(43.42% 0.148 2.3)
XYZxyz(12.7116, 7.1388, 7.1858)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F4A #1F8D62
analogous
#8D1F81 #8D1F4A #8D2B1F
triadic
#8D1F4A #4A8D1F #1F4A8D
tetradic
#8D1F4A #818D1F #1F8D62 #2B1F8D
square
#8D1F4A #818D1F #1F8D62 #2B1F8D
split-complementary
#8D1F4A #1F8D2B #1F818D
monochromatic
#290915 #5B1430 #8D1F4A #BF2A64 #D84E84

Accessibility & contrast

On white

8.65
#8D1F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F4A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F4A#FFFFFF#000000##FFFFFF
##8D1F4A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4B
Deuteranopia (green-blind)
#565347
Tritanopia (blue-blind)
#9A0732
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f4a;
/* rgb */ color: rgb(141, 31, 74);
/* oklch */ color: oklch(43.4% 0.148 2.3);
Tailwind
colors: {
  custom: {
    50: '#b3667c',
    500: '#8d1f4a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f4a;
$custom-light: #b3667c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f4a",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 336.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.14816,
    "h": 2.3
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#8D1F4A
secondary
#4DBB90
accent
#E7A641
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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