#8D1847#8D1847

#8D1847 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 3.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8D1847
RGBrgb(141, 24, 71)
HSLhsl(336, 71%, 32%)
HSVhsv(336, 83%, 55%)
CMYKcmyk(0%, 83%, 49.6%, 44.7%)
CIE-LABlab(31.28, 50.12, 2.91)
CIE-LCHlch(31.28, 50.20, 3.33°)
OKLaboklab(42.77% 0.1538 0.008)
OKLCHoklch(42.77% 0.154 3)
XYZxyz(12.4496, 6.7727, 6.6117)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1847 #188D5E
analogous
#8D1882 #8D1847 #8D2318
triadic
#8D1847 #478D18 #18478D
tetradic
#8D1847 #828D18 #188D5E #23188D
square
#8D1847 #828D18 #188D5E #23188D
split-complementary
#8D1847 #188D23 #18828D
monochromatic
#240612 #590F2D #8D1847 #C12161 #DF4180

Accessibility & contrast

On white

8.92
#8D1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1847
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1847#FFFFFF#000000##FFFFFF
##8D18471.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1847;
/* rgb */ color: rgb(141, 24, 71);
/* oklch */ color: oklch(42.8% 0.154 3.0);
Tailwind
colors: {
  custom: {
    50: '#b4637a',
    500: '#8d1847',
    950: '#000000',
  },
}
SCSS
$custom: #8d1847;
$custom-light: #b4637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1847",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 335.897,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.15397,
    "h": 3
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#8D1847
secondary
#42BF8D
accent
#EEA63A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1847

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

Preview Lab → · Contrast checker → · Palette generator →

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