#8B1A52#8B1A52

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

Color values

HEX#8B1A52
RGBrgb(139, 26, 82)
HSLhsl(330, 68%, 32%)
HSVhsv(330, 81%, 55%)
CMYKcmyk(0%, 81.3%, 41%, 45.5%)
CIE-LABlab(31.44, 50.08, -4.16)
CIE-LCHlch(31.44, 50.25, 355.25°)
OKLaboklab(42.93% 0.1541 -0.0103)
OKLCHoklch(42.93% 0.154 356.2)
XYZxyz(12.5408, 6.8386, 8.6406)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A52 #1A8B53
analogous
#8B1A8B #8B1A52 #8B1A1A
triadic
#8B1A52 #528B1A #1A528B
tetradic
#8B1A52 #8B8B1A #1A8B53 #1A1A8B
square
#8B1A52 #8B8B1A #1A8B53 #1A1A8B
split-complementary
#8B1A52 #1A8B1A #1A8B8B
monochromatic
#240715 #571034 #8B1A52 #BF2470 #DC438F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1A52#FFFFFF#000000##FFFFFF
##8B1A521.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)
#333D53
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#970634
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1a52;
/* rgb */ color: rgb(139, 26, 82);
/* oklch */ color: oklch(42.9% 0.154 356.2);
Tailwind
colors: {
  custom: {
    50: '#b26482',
    500: '#8b1a52',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a52;
$custom-light: #b26482;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a52",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 330.265,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.15439,
    "h": 356.2
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#8B1A52
secondary
#44BD81
accent
#EB953C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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