#8B1F63#8B1F63

#8B1F63 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.158 H 347.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8B1F63
RGBrgb(139, 31, 99)
HSLhsl(322, 64%, 33%)
HSVhsv(322, 78%, 55%)
CMYKcmyk(0%, 77.7%, 28.8%, 45.5%)
CIE-LABlab(32.64, 50.52, -13.40)
CIE-LCHlch(32.64, 52.27, 345.15°)
OKLaboklab(44.02% 0.1538 -0.0354)
OKLCHoklch(44.02% 0.158 347)
XYZxyz(13.3902, 7.3713, 12.5196)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F63 #1F8B47
analogous
#7D1F8B #8B1F63 #8B1F2D
triadic
#8B1F63 #638B1F #1F638B
tetradic
#8B1F63 #8B7D1F #1F8B47 #1F2D8B
square
#8B1F63 #8B7D1F #1F8B47 #1F2D8B
split-complementary
#8B1F63 #2D8B1F #1F8B7D
monochromatic
#27091C #59143F #8B1F63 #BD2A87 #D74DA4

Accessibility & contrast

On white

8.49
#8B1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8B1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F63
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F63#FFFFFF#000000##FFFFFF
##8B1F631.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4165
Deuteranopia (green-blind)
#4F5361
Tritanopia (blue-blind)
#951B3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1f63;
/* rgb */ color: rgb(139, 31, 99);
/* oklch */ color: oklch(44.0% 0.158 347.0);
Tailwind
colors: {
  custom: {
    50: '#b1668f',
    500: '#8b1f63',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f63;
$custom-light: #b1668f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f63",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 322.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44021,
    "c": 0.15779,
    "h": 347
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#8B1F63
secondary
#4CBA75
accent
#E77E41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8B1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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