#8D1842#8D1842

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

Color values

HEX#8D1842
RGBrgb(141, 24, 66)
HSLhsl(338, 71%, 32%)
HSVhsv(338, 83%, 55%)
CMYKcmyk(0%, 83%, 53.2%, 44.7%)
CIE-LABlab(31.14, 49.69, 6.02)
CIE-LCHlch(31.14, 50.05, 6.91°)
OKLaboklab(42.62% 0.1519 0.0157)
OKLCHoklch(42.62% 0.153 5.9)
XYZxyz(12.2956, 6.7111, 5.8011)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1842 #188D63
analogous
#8D187C #8D1842 #8D2918
triadic
#8D1842 #428D18 #18428D
tetradic
#8D1842 #7C8D18 #188D63 #29188D
square
#8D1842 #7C8D18 #188D63 #29188D
split-complementary
#8D1842 #188D29 #187C8D
monochromatic
#240611 #590F2A #8D1842 #C1215A #DF4179

Accessibility & contrast

On white

8.97
#8D1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8D1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1842
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1842#FFFFFF#000000##FFFFFF
##8D18421.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#56523F
Tritanopia (blue-blind)
#9A002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1842;
/* rgb */ color: rgb(141, 24, 66);
/* oklch */ color: oklch(42.6% 0.153 5.9);
Tailwind
colors: {
  custom: {
    50: '#b46376',
    500: '#8d1842',
    950: '#000000',
  },
}
SCSS
$custom: #8d1842;
$custom-light: #b46376;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1842",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 338.462,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.15268,
    "h": 5.9
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#8D1842
secondary
#42BF92
accent
#EEAD3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1842

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

Preview Lab → · Contrast checker → · Palette generator →

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