#8B1F40#8B1F40

#8B1F40 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.144 H 7.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8B1F40
RGBrgb(139, 31, 64)
HSLhsl(342, 64%, 33%)
HSVhsv(342, 78%, 55%)
CMYKcmyk(0%, 77.7%, 54%, 45.5%)
CIE-LABlab(31.44, 46.79, 7.71)
CIE-LCHlch(31.44, 47.42, 9.36°)
OKLaboklab(42.75% 0.1425 0.0198)
OKLCHoklch(42.75% 0.144 7.9)
XYZxyz(12.0640, 6.8408, 5.5346)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F40 #1F8B6A
analogous
#8B1F76 #8B1F40 #8B341F
triadic
#8B1F40 #408B1F #1F408B
tetradic
#8B1F40 #768B1F #1F8B6A #341F8B
square
#8B1F40 #768B1F #1F8B6A #341F8B
split-complementary
#8B1F40 #1F8B34 #1F768B
monochromatic
#270912 #591429 #8B1F40 #BD2A57 #D74D77

Accessibility & contrast

On white

8.87
#8B1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8B1F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F40
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F40#FFFFFF#000000##FFFFFF
##8B1F401.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1f40;
/* rgb */ color: rgb(139, 31, 64);
/* oklch */ color: oklch(42.8% 0.144 7.9);
Tailwind
colors: {
  custom: {
    50: '#b36574',
    500: '#8b1f40',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f40;
$custom-light: #b36574;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f40",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 341.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.14385,
    "h": 7.9
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#8B1F40
secondary
#4CBA98
accent
#E7B441
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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