#8B1D42#8B1D42

#8B1D42 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.146 H 6.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8B1D42
RGBrgb(139, 29, 66)
HSLhsl(340, 65%, 33%)
HSVhsv(340, 79%, 55%)
CMYKcmyk(0%, 79.1%, 52.5%, 45.5%)
CIE-LABlab(31.26, 47.62, 6.13)
CIE-LCHlch(31.26, 48.01, 7.34°)
OKLaboklab(42.64% 0.1454 0.016)
OKLCHoklch(42.64% 0.146 6.3)
XYZxyz(12.0713, 6.7627, 5.8229)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D42 #1D8B66
analogous
#8B1D79 #8B1D42 #8B2F1D
triadic
#8B1D42 #428B1D #1D428B
tetradic
#8B1D42 #798B1D #1D8B66 #2F1D8B
square
#8B1D42 #798B1D #1D8B66 #2F1D8B
split-complementary
#8B1D42 #1D8B2F #1D798B
monochromatic
#260812 #58122A #8B1D42 #BE285A #D9497A

Accessibility & contrast

On white

8.93
#8B1D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1D42
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D42#FFFFFF#000000##FFFFFF
##8B1D421.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1d42;
/* rgb */ color: rgb(139, 29, 66);
/* oklch */ color: oklch(42.6% 0.146 6.3);
Tailwind
colors: {
  custom: {
    50: '#b26576',
    500: '#8b1d42',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d42;
$custom-light: #b26576;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d42",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 339.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42637,
    "c": 0.14627,
    "h": 6.3
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#8B1D42
secondary
#49BB95
accent
#E8B03F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1D42

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

Preview Lab → · Contrast checker → · Palette generator →

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