#8B1774#8B1774

#8B1774 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.176 H 338.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8B1774
RGBrgb(139, 23, 116)
HSLhsl(312, 72%, 32%)
HSVhsv(312, 83%, 55%)
CMYKcmyk(0%, 83.5%, 16.5%, 45.5%)
CIE-LABlab(32.62, 55.15, -24.28)
CIE-LCHlch(32.62, 60.26, 336.24°)
OKLaboklab(44.27% 0.1636 -0.066)
OKLCHoklch(44.27% 0.176 338)
XYZxyz(14.1066, 7.3641, 17.1981)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1774 #178B2E
analogous
#68178B #8B1774 #8B173A
triadic
#8B1774 #748B17 #17748B
tetradic
#8B1774 #8B6817 #178B2E #173A8B
square
#8B1774 #8B6817 #178B2E #173A8B
split-complementary
#8B1774 #3A8B17 #178B68
monochromatic
#22061C #560E48 #8B1774 #C020A0 #DF3DBF

Accessibility & contrast

On white

8.49
#8B1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8B1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1774
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1774#FFFFFF#000000##FFFFFF
##8B17741.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#931F45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1774;
/* rgb */ color: rgb(139, 23, 116);
/* oklch */ color: oklch(44.3% 0.176 338.0);
Tailwind
colors: {
  custom: {
    50: '#b1649c',
    500: '#8b1774',
    950: '#000000',
  },
}
SCSS
$custom: #8b1774;
$custom-light: #b1649c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1774",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 311.897,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44267,
    "c": 0.17638,
    "h": 338
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#8B1774
secondary
#3FBF59
accent
#EE5D39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1774

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

Preview Lab → · Contrast checker → · Palette generator →

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