#8D1D42#8D1D42

#8D1D42 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.148 H 6.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8D1D42
RGBrgb(141, 29, 66)
HSLhsl(340, 66%, 33%)
HSVhsv(340, 79%, 55%)
CMYKcmyk(0%, 79.4%, 53.2%, 44.7%)
CIE-LABlab(31.66, 48.21, 6.76)
CIE-LCHlch(31.66, 48.68, 7.98°)
OKLaboklab(43.01% 0.1471 0.0175)
OKLCHoklch(43.01% 0.148 6.8)
XYZxyz(12.4084, 6.9365, 5.8387)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D42 #1D8D68
analogous
#8D1D7A #8D1D42 #8D301D
triadic
#8D1D42 #428D1D #1D428D
tetradic
#8D1D42 #7A8D1D #1D8D68 #301D8D
square
#8D1D42 #7A8D1D #1D8D68 #301D8D
split-complementary
#8D1D42 #1D8D30 #1D7A8D
monochromatic
#270812 #5A132A #8D1D42 #C0275A #DA4B7A

Accessibility & contrast

On white

8.80
#8D1D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8D1D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D42
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D42#FFFFFF#000000##FFFFFF
##8D1D421.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#57533F
Tritanopia (blue-blind)
#9A002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1d42;
/* rgb */ color: rgb(141, 29, 66);
/* oklch */ color: oklch(43.0% 0.148 6.8);
Tailwind
colors: {
  custom: {
    50: '#b46576',
    500: '#8d1d42',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d42;
$custom-light: #b46576;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d42",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 340.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.14813,
    "h": 6.8
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#8D1D42
secondary
#4ABC96
accent
#E9B13F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1D42

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

Preview Lab → · Contrast checker → · Palette generator →

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