#8B1E52#8B1E52

#8B1E52 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.150 H 356.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8B1E52
RGBrgb(139, 30, 82)
HSLhsl(331, 64%, 33%)
HSVhsv(331, 78%, 55%)
CMYKcmyk(0%, 78.4%, 41%, 45.5%)
CIE-LABlab(31.87, 48.84, -3.51)
CIE-LCHlch(31.87, 48.97, 355.89°)
OKLaboklab(43.25% 0.1501 -0.0086)
OKLCHoklch(43.25% 0.15 356.7)
XYZxyz(12.6356, 7.0283, 8.6722)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1E52 #1E8B57
analogous
#8B1E88 #8B1E52 #8B201E
triadic
#8B1E52 #528B1E #1E528B
tetradic
#8B1E52 #888B1E #1E8B57 #201E8B
square
#8B1E52 #888B1E #1E8B57 #201E8B
split-complementary
#8B1E52 #1E8B20 #1E888B
monochromatic
#260817 #591334 #8B1E52 #BD2970 #D84B8E

Accessibility & contrast

On white

8.73
#8B1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1E52
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1E52#FFFFFF#000000##FFFFFF
##8B1E521.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#535250
Tritanopia (blue-blind)
#970E35
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1e52;
/* rgb */ color: rgb(139, 30, 82);
/* oklch */ color: oklch(43.2% 0.150 356.7);
Tailwind
colors: {
  custom: {
    50: '#b26582',
    500: '#8b1e52',
    950: '#000000',
  },
}
SCSS
$custom: #8b1e52;
$custom-light: #b26582;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1e52",
  "rgb": {
    "r": 139,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 331.376,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.15036,
    "h": 356.7
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#8B1E52
secondary
#4ABB85
accent
#E79840
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8B1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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