#8B1A4A#8B1A4A

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

Color values

HEX#8B1A4A
RGBrgb(139, 26, 74)
HSLhsl(335, 68%, 32%)
HSVhsv(335, 81%, 55%)
CMYKcmyk(0%, 81.3%, 46.8%, 45.5%)
CIE-LABlab(31.17, 49.27, 0.71)
CIE-LCHlch(31.17, 49.28, 0.83°)
OKLaboklab(42.65% 0.1514 0.0024)
OKLCHoklch(42.65% 0.151 0.9)
XYZxyz(12.2539, 6.7238, 7.1298)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A4A #1A8B5B
analogous
#8B1A83 #8B1A4A #8B221A
triadic
#8B1A4A #4A8B1A #1A4A8B
tetradic
#8B1A4A #838B1A #1A8B5B #221A8B
square
#8B1A4A #838B1A #1A8B5B #221A8B
split-complementary
#8B1A4A #1A8B22 #1A838B
monochromatic
#240713 #57102F #8B1A4A #BF2465 #DC4384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1A4A#FFFFFF#000000##FFFFFF
##8B1A4A1.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)
#353C4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#970030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1a4a;
/* rgb */ color: rgb(139, 26, 74);
/* oklch */ color: oklch(42.6% 0.151 0.9);
Tailwind
colors: {
  custom: {
    50: '#b2647c',
    500: '#8b1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a4a;
$custom-light: #b2647c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a4a",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 334.513,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.15139,
    "h": 0.9
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#8B1A4A
secondary
#44BD8A
accent
#EBA13C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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