#8B1A48#8B1A48

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

Color values

HEX#8B1A48
RGBrgb(139, 26, 72)
HSLhsl(336, 68%, 32%)
HSVhsv(336, 81%, 55%)
CMYKcmyk(0%, 81.3%, 48.2%, 45.5%)
CIE-LABlab(31.11, 49.08, 1.95)
CIE-LCHlch(31.11, 49.12, 2.27°)
OKLaboklab(42.58% 0.1507 0.0055)
OKLCHoklch(42.58% 0.151 2.1)
XYZxyz(12.1876, 6.6973, 6.7806)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A48 #1A8B5D
analogous
#8B1A81 #8B1A48 #8B241A
triadic
#8B1A48 #488B1A #1A488B
tetradic
#8B1A48 #818B1A #1A8B5D #241A8B
square
#8B1A48 #818B1A #1A8B5D #241A8B
split-complementary
#8B1A48 #1A8B24 #1A818B
monochromatic
#240713 #57102D #8B1A48 #BF2463 #DC4382

Accessibility & contrast

On white

8.98
#8B1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1A48
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A48#FFFFFF#000000##FFFFFF
##8B1A481.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#98002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1a48;
/* rgb */ color: rgb(139, 26, 72);
/* oklch */ color: oklch(42.6% 0.151 2.1);
Tailwind
colors: {
  custom: {
    50: '#b2647a',
    500: '#8b1a48',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a48;
$custom-light: #b2647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a48",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 335.575,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.15075,
    "h": 2.1
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#8B1A48
secondary
#44BD8C
accent
#EBA43C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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