#8D1D48#8D1D48

#8D1D48 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.150 H 3.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8D1D48
RGBrgb(141, 29, 72)
HSLhsl(337, 66%, 33%)
HSVhsv(337, 79%, 55%)
CMYKcmyk(0%, 79.4%, 48.9%, 44.7%)
CIE-LABlab(31.83, 48.74, 3.04)
CIE-LCHlch(31.83, 48.83, 3.57°)
OKLaboklab(43.19% 0.1494 0.0083)
OKLCHoklch(43.19% 0.15 3.2)
XYZxyz(12.5946, 7.0111, 6.8197)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D48 #1D8D62
analogous
#8D1D80 #8D1D48 #8D2A1D
triadic
#8D1D48 #488D1D #1D488D
tetradic
#8D1D48 #808D1D #1D8D62 #2A1D8D
square
#8D1D48 #808D1D #1D8D62 #2A1D8D
split-complementary
#8D1D48 #1D8D2A #1D808D
monochromatic
#270814 #5A132E #8D1D48 #C02762 #DA4B82

Accessibility & contrast

On white

8.74
#8D1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8D1D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D48
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D48#FFFFFF#000000##FFFFFF
##8D1D481.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#565345
Tritanopia (blue-blind)
#9A0030
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1d48;
/* rgb */ color: rgb(141, 29, 72);
/* oklch */ color: oklch(43.2% 0.150 3.2);
Tailwind
colors: {
  custom: {
    50: '#b4657a',
    500: '#8d1d48',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d48;
$custom-light: #b4657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d48",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 336.964,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.14961,
    "h": 3.2
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#8D1D48
secondary
#4ABC90
accent
#E9A83F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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