#8B1F73#8B1F73

#8B1F73 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.168 H 338.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8B1F73
RGBrgb(139, 31, 115)
HSLhsl(313, 64%, 33%)
HSVhsv(313, 78%, 55%)
CMYKcmyk(0%, 77.7%, 17.3%, 45.5%)
CIE-LABlab(33.37, 52.72, -22.48)
CIE-LCHlch(33.37, 57.31, 336.90°)
OKLaboklab(44.79% 0.1566 -0.0609)
OKLCHoklch(44.79% 0.168 338.7)
XYZxyz(14.2323, 7.7081, 16.9546)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F73 #1F8B37
analogous
#6D1F8B #8B1F73 #8B1F3D
triadic
#8B1F73 #738B1F #1F738B
tetradic
#8B1F73 #8B6D1F #1F8B37 #1F3D8B
square
#8B1F73 #8B6D1F #1F8B37 #1F3D8B
split-complementary
#8B1F73 #3D8B1F #1F8B6D
monochromatic
#270920 #59144A #8B1F73 #BD2A9C #D74DB9

Accessibility & contrast

On white

8.26
#8B1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F73
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F73#FFFFFF#000000##FFFFFF
##8B1F731.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#932447
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1f73;
/* rgb */ color: rgb(139, 31, 115);
/* oklch */ color: oklch(44.8% 0.168 338.7);
Tailwind
colors: {
  custom: {
    50: '#b0679b',
    500: '#8b1f73',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f73;
$custom-light: #b0679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f73",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 313.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.168,
    "h": 338.7
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#8B1F73
secondary
#4CBA64
accent
#E76641
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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