#8D1B47#8D1B47

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

Color values

HEX#8D1B47
RGBrgb(141, 27, 71)
HSLhsl(337, 68%, 33%)
HSVhsv(337, 81%, 55%)
CMYKcmyk(0%, 80.9%, 49.6%, 44.7%)
CIE-LABlab(31.59, 49.26, 3.35)
CIE-LCHlch(31.59, 49.37, 3.89°)
OKLaboklab(43% 0.151 0.0091)
OKLCHoklch(43% 0.151 3.4)
XYZxyz(12.5149, 6.9033, 6.6335)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B47 #1B8D61
analogous
#8D1B80 #8D1B47 #8D281B
triadic
#8D1B47 #478D1B #1B478D
tetradic
#8D1B47 #808D1B #1B8D61 #281B8D
square
#8D1B47 #808D1B #1B8D61 #281B8D
split-complementary
#8D1B47 #1B8D28 #1B808D
monochromatic
#260713 #5A112D #8D1B47 #C02561 #DC4780

Accessibility & contrast

On white

8.82
#8D1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8D1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B47
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B47#FFFFFF#000000##FFFFFF
##8D1B471.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1b47;
/* rgb */ color: rgb(141, 27, 71);
/* oklch */ color: oklch(43.0% 0.151 3.4);
Tailwind
colors: {
  custom: {
    50: '#b4647a',
    500: '#8d1b47',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b47;
$custom-light: #b4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b47",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 336.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.15126,
    "h": 3.4
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#8D1B47
secondary
#46BD8F
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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