#8D1C5F#8D1C5F

#8D1C5F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.160 H 349.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8D1C5F
RGBrgb(141, 28, 95)
HSLhsl(324, 67%, 33%)
HSVhsv(324, 80%, 55%)
CMYKcmyk(0%, 80.1%, 32.6%, 44.7%)
CIE-LABlab(32.53, 51.49, -10.95)
CIE-LCHlch(32.53, 52.64, 348.00°)
OKLaboklab(43.96% 0.1576 -0.0286)
OKLCHoklch(43.96% 0.16 349.7)
XYZxyz(13.4661, 7.3211, 11.5282)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1C5F #1C8D4A
analogous
#821C8D #8D1C5F #8D1C26
triadic
#8D1C5F #5F8D1C #1C5F8D
tetradic
#8D1C5F #8D821C #1C8D4A #1C268D
square
#8D1C5F #8D821C #1C8D4A #1C268D
split-complementary
#8D1C5F #268D1C #1C8D82
monochromatic
#27081A #5A123D #8D1C5F #C02681 #DB499F

Accessibility & contrast

On white

8.52
#8D1C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8D1C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1C5F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1C5F#FFFFFF#000000##FFFFFF
##8D1C5F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#98143B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1c5f;
/* rgb */ color: rgb(141, 28, 95);
/* oklch */ color: oklch(44.0% 0.160 349.7);
Tailwind
colors: {
  custom: {
    50: '#b3658c',
    500: '#8d1c5f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1c5f;
$custom-light: #b3658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1c5f",
  "rgb": {
    "r": 141,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 324.425,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.16016,
    "h": 349.7
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#8D1C5F
secondary
#48BD78
accent
#EA843E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8D1C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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