#8B1A47#8B1A47

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

Color values

HEX#8B1A47
RGBrgb(139, 26, 71)
HSLhsl(336, 68%, 32%)
HSVhsv(336, 81%, 55%)
CMYKcmyk(0%, 81.3%, 48.9%, 45.5%)
CIE-LABlab(31.08, 48.99, 2.56)
CIE-LCHlch(31.08, 49.06, 3.00°)
OKLaboklab(42.55% 0.1503 0.0071)
OKLCHoklch(42.55% 0.15 2.7)
XYZxyz(12.1552, 6.6844, 6.6102)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A47 #1A8B5E
analogous
#8B1A80 #8B1A47 #8B251A
triadic
#8B1A47 #478B1A #1A478B
tetradic
#8B1A47 #808B1A #1A8B5E #251A8B
square
#8B1A47 #808B1A #1A8B5E #251A8B
split-complementary
#8B1A47 #1A8B25 #1A808B
monochromatic
#240712 #57102D #8B1A47 #BF2461 #DC4380

Accessibility & contrast

On white

8.99
#8B1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1A47
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A47#FFFFFF#000000##FFFFFF
##8B1A471.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#98002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1a47;
/* rgb */ color: rgb(139, 26, 71);
/* oklch */ color: oklch(42.5% 0.150 2.7);
Tailwind
colors: {
  custom: {
    50: '#b2647a',
    500: '#8b1a47',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a47;
$custom-light: #b2647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a47",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 336.106,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.15046,
    "h": 2.7
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#8B1A47
secondary
#44BD8D
accent
#EBA63C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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