#8D1B42#8D1B42

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

Color values

HEX#8D1B42
RGBrgb(141, 27, 66)
HSLhsl(339, 68%, 33%)
HSVhsv(339, 81%, 55%)
CMYKcmyk(0%, 80.9%, 53.2%, 44.7%)
CIE-LABlab(31.44, 48.82, 6.45)
CIE-LCHlch(31.44, 49.25, 7.52°)
OKLaboklab(42.85% 0.1491 0.0167)
OKLCHoklch(42.85% 0.15 6.4)
XYZxyz(12.3609, 6.8417, 5.8229)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1B42 #1B8D66
analogous
#8D1B7B #8D1B42 #8D2D1B
triadic
#8D1B42 #428D1B #1B428D
tetradic
#8D1B42 #7B8D1B #1B8D66 #2D1B8D
square
#8D1B42 #7B8D1B #1B8D66 #2D1B8D
split-complementary
#8D1B42 #1B8D2D #1B7B8D
monochromatic
#260712 #5A112A #8D1B42 #C0255A #DC477A

Accessibility & contrast

On white

8.87
#8D1B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1B42
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1B42#FFFFFF#000000##FFFFFF
##8D1B421.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9A002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1b42;
/* rgb */ color: rgb(141, 27, 66);
/* oklch */ color: oklch(42.8% 0.150 6.4);
Tailwind
colors: {
  custom: {
    50: '#b46476',
    500: '#8d1b42',
    950: '#000000',
  },
}
SCSS
$custom: #8d1b42;
$custom-light: #b46476;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1b42",
  "rgb": {
    "r": 141,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 339.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.15002,
    "h": 6.4
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#8D1B42
secondary
#46BD95
accent
#EBAF3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1B42

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

Preview Lab → · Contrast checker → · Palette generator →

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