#8B1F71#8B1F71

#8B1F71 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.167 H 339.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8B1F71
RGBrgb(139, 31, 113)
HSLhsl(314, 64%, 33%)
HSVhsv(314, 78%, 55%)
CMYKcmyk(0%, 77.7%, 18.7%, 45.5%)
CIE-LABlab(33.27, 52.43, -21.37)
CIE-LCHlch(33.27, 56.62, 337.83°)
OKLaboklab(44.69% 0.1563 -0.0578)
OKLCHoklch(44.69% 0.167 339.7)
XYZxyz(14.1185, 7.6626, 16.3551)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F71 #1F8B39
analogous
#6F1F8B #8B1F71 #8B1F3B
triadic
#8B1F71 #718B1F #1F718B
tetradic
#8B1F71 #8B6F1F #1F8B39 #1F3B8B
square
#8B1F71 #8B6F1F #1F8B39 #1F3B8B
split-complementary
#8B1F71 #3B8B1F #1F8B6F
monochromatic
#270920 #591448 #8B1F71 #BD2A9A #D74DB6

Accessibility & contrast

On white

8.29
#8B1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F71
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F71#FFFFFF#000000##FFFFFF
##8B1F711.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#932346
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1f71;
/* rgb */ color: rgb(139, 31, 113);
/* oklch */ color: oklch(44.7% 0.167 339.7);
Tailwind
colors: {
  custom: {
    50: '#b1679a',
    500: '#8b1f71',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f71;
$custom-light: #b1679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f71",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 314.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.16663,
    "h": 339.7
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#8B1F71
secondary
#4CBA66
accent
#E76941
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F71

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

Preview Lab → · Contrast checker → · Palette generator →

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