#8B1F79#8B1F79

#8B1F79 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.172 H 335.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8B1F79
RGBrgb(139, 31, 121)
HSLhsl(310, 64%, 33%)
HSVhsv(310, 78%, 55%)
CMYKcmyk(0%, 77.7%, 12.9%, 45.5%)
CIE-LABlab(33.67, 53.61, -25.79)
CIE-LCHlch(33.67, 59.50, 334.31°)
OKLaboklab(45.1% 0.1572 -0.0704)
OKLCHoklch(45.1% 0.172 335.9)
XYZxyz(14.5889, 7.8508, 18.8325)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F79 #1F8B31
analogous
#671F8B #8B1F79 #8B1F43
triadic
#8B1F79 #798B1F #1F798B
tetradic
#8B1F79 #8B671F #1F8B31 #1F438B
square
#8B1F79 #8B671F #1F8B31 #1F438B
split-complementary
#8B1F79 #438B1F #1F8B67
monochromatic
#270922 #59144D #8B1F79 #BD2AA5 #D74DC0

Accessibility & contrast

On white

8.17
#8B1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F79
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F79#FFFFFF#000000##FFFFFF
##8B1F791.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#92274A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1f79;
/* rgb */ color: rgb(139, 31, 121);
/* oklch */ color: oklch(45.1% 0.172 335.9);
Tailwind
colors: {
  custom: {
    50: '#b067a0',
    500: '#8b1f79',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f79;
$custom-light: #b067a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f79",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 310,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.17223,
    "h": 335.9
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#8B1F79
secondary
#4CBA5E
accent
#E75D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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