#8B1D74#8B1D74

#8B1D74 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.171 H 338.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8B1D74
RGBrgb(139, 29, 116)
HSLhsl(313, 65%, 33%)
HSVhsv(313, 79%, 55%)
CMYKcmyk(0%, 79.1%, 16.5%, 45.5%)
CIE-LABlab(33.20, 53.49, -23.38)
CIE-LCHlch(33.20, 58.37, 336.39°)
OKLaboklab(44.68% 0.1586 -0.0635)
OKLCHoklch(44.68% 0.171 338.2)
XYZxyz(14.2395, 7.6300, 17.2424)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D74 #1D8B34
analogous
#6B1D8B #8B1D74 #8B1D3D
triadic
#8B1D74 #748B1D #1D748B
tetradic
#8B1D74 #8B6B1D #1D8B34 #1D3D8B
square
#8B1D74 #8B6B1D #1D8B34 #1D3D8B
split-complementary
#8B1D74 #3D8B1D #1D8B6B
monochromatic
#26081F #58124A #8B1D74 #BE289E #D949BB

Accessibility & contrast

On white

8.31
#8B1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1D74
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D74#FFFFFF#000000##FFFFFF
##8B1D741.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#932347
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1d74;
/* rgb */ color: rgb(139, 29, 116);
/* oklch */ color: oklch(44.7% 0.171 338.2);
Tailwind
colors: {
  custom: {
    50: '#b1669c',
    500: '#8b1d74',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d74;
$custom-light: #b1669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d74",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 312.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44683,
    "c": 0.17078,
    "h": 338.2
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#8B1D74
secondary
#49BB61
accent
#E8633F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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