#8D1940#8D1940

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

Color values

HEX#8D1940
RGBrgb(141, 25, 64)
HSLhsl(340, 70%, 33%)
HSVhsv(340, 82%, 55%)
CMYKcmyk(0%, 82.3%, 54.6%, 44.7%)
CIE-LABlab(31.18, 49.24, 7.41)
CIE-LCHlch(31.18, 49.80, 8.55°)
OKLaboklab(42.64% 0.1502 0.0191)
OKLCHoklch(42.64% 0.151 7.2)
XYZxyz(12.2587, 6.7299, 5.5030)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1940 #198D66
analogous
#8D197A #8D1940 #8D2C19
triadic
#8D1940 #408D19 #19408D
tetradic
#8D1940 #7A8D19 #198D66 #2C198D
square
#8D1940 #7A8D19 #198D66 #2C198D
split-complementary
#8D1940 #198D2C #197A8D
monochromatic
#250711 #591028 #8D1940 #C12258 #DE4377

Accessibility & contrast

On white

8.95
#8D1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8D1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1940
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1940#FFFFFF#000000##FFFFFF
##8D19401.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9A002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1940;
/* rgb */ color: rgb(141, 25, 64);
/* oklch */ color: oklch(42.6% 0.151 7.2);
Tailwind
colors: {
  custom: {
    50: '#b46374',
    500: '#8d1940',
    950: '#000000',
  },
}
SCSS
$custom: #8d1940;
$custom-light: #b46374;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1940",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 339.828,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.15139,
    "h": 7.2
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#8D1940
secondary
#43BF95
accent
#EDB13B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1940

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

Preview Lab → · Contrast checker → · Palette generator →

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