#8B1F77#8B1F77

#8B1F77 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.171 H 336.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8B1F77
RGBrgb(139, 31, 119)
HSLhsl(311, 64%, 33%)
HSVhsv(311, 78%, 55%)
CMYKcmyk(0%, 77.7%, 14.4%, 45.5%)
CIE-LABlab(33.57, 53.31, -24.70)
CIE-LCHlch(33.57, 58.75, 335.14°)
OKLaboklab(45% 0.157 -0.0673)
OKLCHoklch(45% 0.171 336.8)
XYZxyz(14.4675, 7.8022, 18.1932)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F77 #1F8B33
analogous
#691F8B #8B1F77 #8B1F41
triadic
#8B1F77 #778B1F #1F778B
tetradic
#8B1F77 #8B691F #1F8B33 #1F418B
square
#8B1F77 #8B691F #1F8B33 #1F418B
split-complementary
#8B1F77 #418B1F #1F8B69
monochromatic
#270921 #59144C #8B1F77 #BD2AA2 #D74DBE

Accessibility & contrast

On white

8.20
#8B1F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F77
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F77#FFFFFF#000000##FFFFFF
##8B1F771.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#932649
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1f77;
/* rgb */ color: rgb(139, 31, 119);
/* oklch */ color: oklch(45.0% 0.171 336.8);
Tailwind
colors: {
  custom: {
    50: '#b0679e',
    500: '#8b1f77',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f77;
$custom-light: #b0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f77",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 311.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.1708,
    "h": 336.8
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#8B1F77
secondary
#4CBA60
accent
#E76041
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F77

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

Preview Lab → · Contrast checker → · Palette generator →

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