#8D1742#8D1742

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

Color values

HEX#8D1742
RGBrgb(141, 23, 66)
HSLhsl(338, 72%, 32%)
HSVhsv(338, 84%, 55%)
CMYKcmyk(0%, 83.7%, 53.2%, 44.7%)
CIE-LABlab(31.04, 49.96, 5.88)
CIE-LCHlch(31.04, 50.30, 6.72°)
OKLaboklab(42.55% 0.1528 0.0153)
OKLCHoklch(42.55% 0.154 5.7)
XYZxyz(12.2754, 6.6706, 5.7944)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1742 #178D62
analogous
#8D177D #8D1742 #8D2717
triadic
#8D1742 #428D17 #17428D
tetradic
#8D1742 #7D8D17 #178D62 #27178D
square
#8D1742 #7D8D17 #178D62 #27178D
split-complementary
#8D1742 #178D27 #177D8D
monochromatic
#240611 #580E29 #8D1742 #C2205B #E03F79

Accessibility & contrast

On white

9.00
#8D1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1742
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1742#FFFFFF#000000##FFFFFF
##8D17421.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#9A002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1742;
/* rgb */ color: rgb(141, 23, 66);
/* oklch */ color: oklch(42.6% 0.154 5.7);
Tailwind
colors: {
  custom: {
    50: '#b46376',
    500: '#8d1742',
    950: '#000000',
  },
}
SCSS
$custom: #8d1742;
$custom-light: #b46376;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1742",
  "rgb": {
    "r": 141,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 338.136,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.15352,
    "h": 5.7
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#8D1742
secondary
#40C091
accent
#EFAD39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1742

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

Preview Lab → · Contrast checker → · Palette generator →

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