#8D1040#8D1040

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

Color values

HEX#8D1040
RGBrgb(141, 16, 64)
HSLhsl(337, 80%, 31%)
HSVhsv(337, 89%, 55%)
CMYKcmyk(0%, 88.7%, 54.6%, 44.7%)
CIE-LABlab(30.41, 51.45, 6.32)
CIE-LCHlch(30.41, 51.83, 7.00°)
OKLaboklab(42.07% 0.1573 0.0164)
OKLCHoklch(42.07% 0.158 5.9)
XYZxyz(12.0964, 6.4053, 5.4489)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1040 #108D5D
analogous
#8D107E #8D1040 #8D1E10
triadic
#8D1040 #408D10 #10408D
tetradic
#8D1040 #7E8D10 #108D5D #1E108D
square
#8D1040 #7E8D10 #108D5D #1E108D
split-complementary
#8D1040 #108D1E #107E8D
monochromatic
#1F040E #560A27 #8D1040 #C41659 #E73076

Accessibility & contrast

On white

9.21
#8D1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8D1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1040
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1040#FFFFFF#000000##FFFFFF
##8D10401.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#9A0027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d1040;
/* rgb */ color: rgb(141, 16, 64);
/* oklch */ color: oklch(42.1% 0.158 5.9);
Tailwind
colors: {
  custom: {
    50: '#b56174',
    500: '#8d1040',
    950: '#000000',
  },
}
SCSS
$custom: #8d1040;
$custom-light: #b56174;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1040",
  "rgb": {
    "r": 141,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 336.96,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.15819,
    "h": 5.9
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#8D1040
secondary
#37C28C
accent
#F6AB32
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1040

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

Preview Lab → · Contrast checker → · Palette generator →

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