#8B1B42#8B1B42

#8B1B42 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.148 H 5.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8B1B42
RGBrgb(139, 27, 66)
HSLhsl(339, 67%, 33%)
HSVhsv(339, 81%, 55%)
CMYKcmyk(0%, 80.6%, 52.5%, 45.5%)
CIE-LABlab(31.04, 48.25, 5.82)
CIE-LCHlch(31.04, 48.60, 6.88°)
OKLaboklab(42.47% 0.1474 0.0152)
OKLCHoklch(42.47% 0.148 5.9)
XYZxyz(12.0239, 6.6679, 5.8071)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B42 #1B8B64
analogous
#8B1B7A #8B1B42 #8B2C1B
triadic
#8B1B42 #428B1B #1B428B
tetradic
#8B1B42 #7A8B1B #1B8B64 #2C1B8B
square
#8B1B42 #7A8B1B #1B8B64 #2C1B8B
split-complementary
#8B1B42 #1B8B2C #1B7A8B
monochromatic
#250711 #58112A #8B1B42 #BE255A #DB457A

Accessibility & contrast

On white

9.00
#8B1B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8B1B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B42
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B42#FFFFFF#000000##FFFFFF
##8B1B421.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#98002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1b42;
/* rgb */ color: rgb(139, 27, 66);
/* oklch */ color: oklch(42.5% 0.148 5.9);
Tailwind
colors: {
  custom: {
    50: '#b36476',
    500: '#8b1b42',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b42;
$custom-light: #b36476;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b42",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 339.107,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.14821,
    "h": 5.9
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#8B1B42
secondary
#45BC93
accent
#EAAE3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1B42

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

Preview Lab → · Contrast checker → · Palette generator →

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