#8B1C42#8B1C42

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

Color values

HEX#8B1C42
RGBrgb(139, 28, 66)
HSLhsl(339, 66%, 33%)
HSVhsv(339, 80%, 55%)
CMYKcmyk(0%, 79.9%, 52.5%, 45.5%)
CIE-LABlab(31.15, 47.94, 5.97)
CIE-LCHlch(31.15, 48.31, 7.10°)
OKLaboklab(42.56% 0.1464 0.0156)
OKLCHoklch(42.56% 0.147 6.1)
XYZxyz(12.0472, 6.7145, 5.8149)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C42 #1C8B65
analogous
#8B1C7A #8B1C42 #8B2D1C
triadic
#8B1C42 #428B1C #1C428B
tetradic
#8B1C42 #7A8B1C #1C8B65 #2D1C8B
square
#8B1C42 #7A8B1C #1C8B65 #2D1C8B
split-complementary
#8B1C42 #1C8B2D #1C7A8B
monochromatic
#250712 #58122A #8B1C42 #BE265A #DA477A

Accessibility & contrast

On white

8.96
#8B1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8B1C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C42
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C42#FFFFFF#000000##FFFFFF
##8B1C421.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1c42;
/* rgb */ color: rgb(139, 28, 66);
/* oklch */ color: oklch(42.6% 0.147 6.1);
Tailwind
colors: {
  custom: {
    50: '#b36476',
    500: '#8b1c42',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c42;
$custom-light: #b36476;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c42",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 339.459,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.14726,
    "h": 6.1
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#8B1C42
secondary
#47BC94
accent
#E9AF3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1C42

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

Preview Lab → · Contrast checker → · Palette generator →

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