#8D1547#8D1547

#8D1547 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 2.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8D1547
RGBrgb(141, 21, 71)
HSLhsl(335, 74%, 32%)
HSVhsv(335, 85%, 55%)
CMYKcmyk(0%, 85.1%, 49.6%, 44.7%)
CIE-LABlab(31.01, 50.90, 2.52)
CIE-LCHlch(31.01, 50.96, 2.83°)
OKLaboklab(42.57% 0.1563 0.007)
OKLCHoklch(42.57% 0.156 2.6)
XYZxyz(12.3911, 6.6557, 6.5922)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1547 #158D5B
analogous
#8D1583 #8D1547 #8D1F15
triadic
#8D1547 #478D15 #15478D
tetradic
#8D1547 #838D15 #158D5B #1F158D
square
#8D1547 #838D15 #158D5B #1F158D
split-complementary
#8D1547 #158D1F #15838D
monochromatic
#220511 #580D2C #8D1547 #C21D62 #E23B80

Accessibility & contrast

On white

9.01
#8D1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8D1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1547
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1547#FFFFFF#000000##FFFFFF
##8D15471.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#9A002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1547;
/* rgb */ color: rgb(141, 21, 71);
/* oklch */ color: oklch(42.6% 0.156 2.6);
Tailwind
colors: {
  custom: {
    50: '#b4627a',
    500: '#8d1547',
    950: '#000000',
  },
}
SCSS
$custom: #8d1547;
$custom-light: #b4627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1547",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 335,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.15645,
    "h": 2.6
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#8D1547
secondary
#3DC18A
accent
#F1A337
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1547

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

Preview Lab → · Contrast checker → · Palette generator →

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