#8D1B40#8D1B40

#8D1B40 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 7.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8D1B40
RGBrgb(141, 27, 64)
HSLhsl(341, 68%, 33%)
HSVhsv(341, 81%, 55%)
CMYKcmyk(0%, 80.9%, 54.6%, 44.7%)
CIE-LABlab(31.39, 48.66, 7.70)
CIE-LCHlch(31.39, 49.26, 8.99°)
OKLaboklab(42.79% 0.1483 0.0198)
OKLCHoklch(42.79% 0.15 7.6)
XYZxyz(12.3030, 6.8185, 5.5178)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B40 #1B8D68
analogous
#8D1B79 #8D1B40 #8D2F1B
triadic
#8D1B40 #408D1B #1B408D
tetradic
#8D1B40 #798D1B #1B8D68 #2F1B8D
square
#8D1B40 #798D1B #1B8D68 #2F1B8D
split-complementary
#8D1B40 #1B8D2F #1B798D
monochromatic
#260711 #5A1129 #8D1B40 #C02557 #DC4777

Accessibility & contrast

On white

8.89
#8D1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8D1B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B40
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B40#FFFFFF#000000##FFFFFF
##8D1B401.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9A002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1b40;
/* rgb */ color: rgb(141, 27, 64);
/* oklch */ color: oklch(42.8% 0.150 7.6);
Tailwind
colors: {
  custom: {
    50: '#b46474',
    500: '#8d1b40',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b40;
$custom-light: #b46474;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b40",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 340.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42788,
    "c": 0.14961,
    "h": 7.6
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#8D1B40
secondary
#46BD97
accent
#EBB23D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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