#8D1748#8D1748

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

Color values

HEX#8D1748
RGBrgb(141, 23, 72)
HSLhsl(335, 72%, 32%)
HSVhsv(335, 84%, 55%)
CMYKcmyk(0%, 83.7%, 48.9%, 44.7%)
CIE-LABlab(31.22, 50.48, 2.16)
CIE-LCHlch(31.22, 50.52, 2.45°)
OKLaboklab(42.74% 0.155 0.0061)
OKLCHoklch(42.74% 0.155 2.2)
XYZxyz(12.4617, 6.7451, 6.7754)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1748 #178D5C
analogous
#8D1783 #8D1748 #8D2117
triadic
#8D1748 #488D17 #17488D
tetradic
#8D1748 #838D17 #178D5C #21178D
square
#8D1748 #838D17 #178D5C #21178D
split-complementary
#8D1748 #178D21 #17838D
monochromatic
#240612 #580E2D #8D1748 #C22063 #E03F82

Accessibility & contrast

On white

8.94
#8D1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1748
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1748#FFFFFF#000000##FFFFFF
##8D17481.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#9A002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1748;
/* rgb */ color: rgb(141, 23, 72);
/* oklch */ color: oklch(42.7% 0.155 2.2);
Tailwind
colors: {
  custom: {
    50: '#b4637a',
    500: '#8d1748',
    950: '#000000',
  },
}
SCSS
$custom: #8d1748;
$custom-light: #b4637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1748",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 335.085,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.15512,
    "h": 2.2
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#8D1748
secondary
#40C08B
accent
#EFA339
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1748

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

Preview Lab → · Contrast checker → · Palette generator →

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