#8D1F54#8D1F54

#8D1F54 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.152 H 356.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8D1F54
RGBrgb(141, 31, 84)
HSLhsl(331, 64%, 34%)
HSVhsv(331, 78%, 55%)
CMYKcmyk(0%, 78%, 40.4%, 44.7%)
CIE-LABlab(32.45, 49.30, -3.93)
CIE-LCHlch(32.45, 49.45, 355.45°)
OKLaboklab(43.76% 0.1515 -0.0097)
OKLCHoklch(43.76% 0.152 356.3)
XYZxyz(13.0756, 7.2844, 9.1033)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F54 #1F8D58
analogous
#8D1F8B #8D1F54 #8D211F
triadic
#8D1F54 #548D1F #1F548D
tetradic
#8D1F54 #8B8D1F #1F8D58 #211F8D
square
#8D1F54 #8B8D1F #1F8D58 #211F8D
split-complementary
#8D1F54 #1F8D21 #1F8B8D
monochromatic
#290918 #5B1436 #8D1F54 #BF2A72 #D84E91

Accessibility & contrast

On white

8.55
#8D1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8D1F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F54
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F54#FFFFFF#000000##FFFFFF
##8D1F541.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F55
Deuteranopia (green-blind)
#545452
Tritanopia (blue-blind)
#990F37
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f54;
/* rgb */ color: rgb(141, 31, 84);
/* oklch */ color: oklch(43.8% 0.152 356.3);
Tailwind
colors: {
  custom: {
    50: '#b36684',
    500: '#8d1f54',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f54;
$custom-light: #b36684;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f54",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 331.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.15179,
    "h": 356.3
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#8D1F54
secondary
#4DBB86
accent
#E79741
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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