#8D1A47#8D1A47

#8D1A47 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.152 H 3.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8D1A47
RGBrgb(141, 26, 71)
HSLhsl(337, 69%, 33%)
HSVhsv(337, 82%, 55%)
CMYKcmyk(0%, 81.6%, 49.6%, 44.7%)
CIE-LABlab(31.48, 49.55, 3.20)
CIE-LCHlch(31.48, 49.66, 3.69°)
OKLaboklab(42.92% 0.1519 0.0087)
OKLCHoklch(42.92% 0.152 3.3)
XYZxyz(12.4923, 6.8582, 6.6260)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A47 #1A8D60
analogous
#8D1A80 #8D1A47 #8D271A
triadic
#8D1A47 #478D1A #1A478D
tetradic
#8D1A47 #808D1A #1A8D60 #271A8D
square
#8D1A47 #808D1A #1A8D60 #271A8D
split-complementary
#8D1A47 #1A8D27 #1A808D
monochromatic
#260713 #59102D #8D1A47 #C12461 #DD4580

Accessibility & contrast

On white

8.86
#8D1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A47
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A47#FFFFFF#000000##FFFFFF
##8D1A471.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9A002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1a47;
/* rgb */ color: rgb(141, 26, 71);
/* oklch */ color: oklch(42.9% 0.152 3.3);
Tailwind
colors: {
  custom: {
    50: '#b4647a',
    500: '#8d1a47',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a47;
$custom-light: #b4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a47",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 336.522,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.15219,
    "h": 3.3
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#8D1A47
secondary
#45BE8F
accent
#ECA73C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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