#8B1A42#8B1A42

#8B1A42 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 5.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8B1A42
RGBrgb(139, 26, 66)
HSLhsl(339, 68%, 32%)
HSVhsv(339, 81%, 55%)
CMYKcmyk(0%, 81.3%, 52.5%, 45.5%)
CIE-LABlab(30.93, 48.55, 5.67)
CIE-LCHlch(30.93, 48.88, 6.66°)
OKLaboklab(42.4% 0.1484 0.0148)
OKLCHoklch(42.4% 0.149 5.7)
XYZxyz(12.0013, 6.6228, 5.7996)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A42 #1A8B63
analogous
#8B1A7B #8B1A42 #8B2A1A
triadic
#8B1A42 #428B1A #1A428B
tetradic
#8B1A42 #7B8B1A #1A8B63 #2A1A8B
square
#8B1A42 #7B8B1A #1A8B63 #2A1A8B
split-complementary
#8B1A42 #1A8B2A #1A7B8B
monochromatic
#240711 #57102A #8B1A42 #BF245A #DC4379

Accessibility & contrast

On white

9.04
#8B1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8B1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1A42
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A42#FFFFFF#000000##FFFFFF
##8B1A421.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.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: #8b1a42;
/* rgb */ color: rgb(139, 26, 66);
/* oklch */ color: oklch(42.4% 0.149 5.7);
Tailwind
colors: {
  custom: {
    50: '#b36376',
    500: '#8b1a42',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a42;
$custom-light: #b36376;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a42",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 338.761,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.14914,
    "h": 5.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#8B1A42
secondary
#44BD92
accent
#EBAD3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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