#8D1C47#8D1C47

#8D1C47 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.150 H 3.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8D1C47
RGBrgb(141, 28, 71)
HSLhsl(337, 67%, 33%)
HSVhsv(337, 80%, 55%)
CMYKcmyk(0%, 80.1%, 49.6%, 44.7%)
CIE-LABlab(31.69, 48.96, 3.50)
CIE-LCHlch(31.69, 49.08, 4.09°)
OKLaboklab(43.07% 0.15 0.0095)
OKLCHoklch(43.07% 0.15 3.6)
XYZxyz(12.5382, 6.9499, 6.6412)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C47 #1C8D62
analogous
#8D1C7F #8D1C47 #8D291C
triadic
#8D1C47 #478D1C #1C478D
tetradic
#8D1C47 #7F8D1C #1C8D62 #291C8D
square
#8D1C47 #7F8D1C #1C8D62 #291C8D
split-complementary
#8D1C47 #1C8D29 #1C7F8D
monochromatic
#270814 #5A122D #8D1C47 #C02661 #DB4980

Accessibility & contrast

On white

8.79
#8D1C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1C47
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C47#FFFFFF#000000##FFFFFF
##8D1C471.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9A002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1c47;
/* rgb */ color: rgb(141, 28, 71);
/* oklch */ color: oklch(43.1% 0.150 3.6);
Tailwind
colors: {
  custom: {
    50: '#b4657a',
    500: '#8d1c47',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c47;
$custom-light: #b4657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c47",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 337.168,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43074,
    "c": 0.15031,
    "h": 3.6
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#8D1C47
secondary
#48BD90
accent
#EAA83E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1C47

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

Preview Lab → · Contrast checker → · Palette generator →

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