#8D1542#8D1542

#8D1542 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 5.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8D1542
RGBrgb(141, 21, 66)
HSLhsl(338, 74%, 32%)
HSVhsv(338, 85%, 55%)
CMYKcmyk(0%, 85.1%, 53.2%, 44.7%)
CIE-LABlab(30.86, 50.47, 5.63)
CIE-LCHlch(30.86, 50.78, 6.36°)
OKLaboklab(42.42% 0.1544 0.0147)
OKLCHoklch(42.42% 0.155 5.4)
XYZxyz(12.2372, 6.5942, 5.7816)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1542 #158D60
analogous
#8D157E #8D1542 #8D2415
triadic
#8D1542 #428D15 #15428D
tetradic
#8D1542 #7E8D15 #158D60 #24158D
square
#8D1542 #7E8D15 #158D60 #24158D
split-complementary
#8D1542 #158D24 #157E8D
monochromatic
#220510 #580D29 #8D1542 #C21D5B #E23B79

Accessibility & contrast

On white

9.06
#8D1542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8D1542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1542
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1542#FFFFFF#000000##FFFFFF
##8D15421.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#9A002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1542;
/* rgb */ color: rgb(141, 21, 66);
/* oklch */ color: oklch(42.4% 0.155 5.4);
Tailwind
colors: {
  custom: {
    50: '#b46276',
    500: '#8d1542',
    950: '#000000',
  },
}
SCSS
$custom: #8d1542;
$custom-light: #b46276;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1542",
  "rgb": {
    "r": 141,
    "g": 21,
    "b": 66
  },
  "hsl": {
    "h": 337.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.15512,
    "h": 5.4
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#8D1542
secondary
#3DC18F
accent
#F1AB37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1542

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

Preview Lab → · Contrast checker → · Palette generator →

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