#8D1042#8D1042

#8D1042 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.159 H 4.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8D1042
RGBrgb(141, 16, 66)
HSLhsl(336, 80%, 31%)
HSVhsv(336, 89%, 55%)
CMYKcmyk(0%, 88.7%, 53.2%, 44.7%)
CIE-LABlab(30.47, 51.61, 5.07)
CIE-LCHlch(30.47, 51.86, 5.61°)
OKLaboklab(42.13% 0.1581 0.0133)
OKLCHoklch(42.13% 0.159 4.8)
XYZxyz(12.1543, 6.4284, 5.7540)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1042 #108D5B
analogous
#8D1080 #8D1042 #8D1C10
triadic
#8D1042 #428D10 #10428D
tetradic
#8D1042 #808D10 #108D5B #1C108D
square
#8D1042 #808D10 #108D5B #1C108D
split-complementary
#8D1042 #108D1C #10808D
monochromatic
#1F040F #560A28 #8D1042 #C4165C #E73079

Accessibility & contrast

On white

9.19
#8D1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8D1042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1042
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1042#FFFFFF#000000##FFFFFF
##8D10421.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#55503F
Tritanopia (blue-blind)
#9A0028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d1042;
/* rgb */ color: rgb(141, 16, 66);
/* oklch */ color: oklch(42.1% 0.159 4.8);
Tailwind
colors: {
  custom: {
    50: '#b46176',
    500: '#8d1042',
    950: '#000000',
  },
}
SCSS
$custom: #8d1042;
$custom-light: #b46176;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1042",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 336,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.15866,
    "h": 4.8
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#8D1042
secondary
#37C28A
accent
#F6A832
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1042

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

Preview Lab → · Contrast checker → · Palette generator →

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