#8D1747#8D1747

#8D1747 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.155 H 2.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#8D1747
RGBrgb(141, 23, 71)
HSLhsl(336, 72%, 32%)
HSVhsv(336, 84%, 55%)
CMYKcmyk(0%, 83.7%, 49.6%, 44.7%)
CIE-LABlab(31.19, 50.39, 2.78)
CIE-LCHlch(31.19, 50.46, 3.15°)
OKLaboklab(42.71% 0.1546 0.0076)
OKLCHoklch(42.71% 0.155 2.8)
XYZxyz(12.4293, 6.7322, 6.6050)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1747 #178D5D
analogous
#8D1782 #8D1747 #8D2217
triadic
#8D1747 #478D17 #17478D
tetradic
#8D1747 #828D17 #178D5D #22178D
square
#8D1747 #828D17 #178D5D #22178D
split-complementary
#8D1747 #178D22 #17828D
monochromatic
#240612 #580E2D #8D1747 #C22061 #E03F80

Accessibility & contrast

On white

8.95
#8D1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8D1747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1747
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1747#FFFFFF#000000##FFFFFF
##8D17471.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#9A002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1747;
/* rgb */ color: rgb(141, 23, 71);
/* oklch */ color: oklch(42.7% 0.155 2.8);
Tailwind
colors: {
  custom: {
    50: '#b4637a',
    500: '#8d1747',
    950: '#000000',
  },
}
SCSS
$custom: #8d1747;
$custom-light: #b4637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1747",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 335.593,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42705,
    "c": 0.15482,
    "h": 2.8
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#8D1747
secondary
#40C08C
accent
#EFA539
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1747

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

Preview Lab → · Contrast checker → · Palette generator →

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