#8B1474#8B1474

#8B1474 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.1% C 0.179 H 338.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8B1474
RGBrgb(139, 20, 116)
HSLhsl(312, 75%, 31%)
HSVhsv(312, 86%, 55%)
CMYKcmyk(0%, 85.6%, 16.5%, 45.5%)
CIE-LABlab(32.37, 55.87, -24.67)
CIE-LCHlch(32.37, 61.08, 336.18°)
OKLaboklab(44.09% 0.1657 -0.0671)
OKLCHoklch(44.09% 0.179 338)
XYZxyz(14.0504, 7.2516, 17.1794)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1474 #148B2B
analogous
#66148B #8B1474 #8B1438
triadic
#8B1474 #748B14 #14748B
tetradic
#8B1474 #8B6614 #148B2B #14388B
square
#8B1474 #8B6614 #148B2B #14388B
split-complementary
#8B1474 #388B14 #148B66
monochromatic
#20051B #550C47 #8B1474 #C11CA1 #E237C1

Accessibility & contrast

On white

8.57
#8B1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8B1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1474
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1474#FFFFFF#000000##FFFFFF
##8B14741.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#931D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1474;
/* rgb */ color: rgb(139, 20, 116);
/* oklch */ color: oklch(44.1% 0.179 338.0);
Tailwind
colors: {
  custom: {
    50: '#b1639c',
    500: '#8b1474',
    950: '#000000',
  },
}
SCSS
$custom: #8b1474;
$custom-light: #b1639c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1474",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 311.597,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.1788,
    "h": 338
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#8B1474
secondary
#3CBF55
accent
#F15B36
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1474

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

Preview Lab → · Contrast checker → · Palette generator →

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