#8B1773#8B1773

#8B1773 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.2% C 0.176 H 338.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8B1773
RGBrgb(139, 23, 115)
HSLhsl(312, 72%, 32%)
HSVhsv(312, 83%, 55%)
CMYKcmyk(0%, 83.5%, 17.3%, 45.5%)
CIE-LABlab(32.57, 55.01, -23.73)
CIE-LCHlch(32.57, 59.91, 336.67°)
OKLaboklab(44.21% 0.1635 -0.0644)
OKLCHoklch(44.21% 0.176 338.5)
XYZxyz(14.0487, 7.3410, 16.8934)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1773 #178B2F
analogous
#69178B #8B1773 #8B1739
triadic
#8B1773 #738B17 #17738B
tetradic
#8B1773 #8B6917 #178B2F #17398B
square
#8B1773 #8B6917 #178B2F #17398B
split-complementary
#8B1773 #398B17 #178B69
monochromatic
#22061C #560E48 #8B1773 #C0209E #DF3DBE

Accessibility & contrast

On white

8.51
#8B1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1773
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1773#FFFFFF#000000##FFFFFF
##8B17731.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#931E45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1773;
/* rgb */ color: rgb(139, 23, 115);
/* oklch */ color: oklch(44.2% 0.176 338.5);
Tailwind
colors: {
  custom: {
    50: '#b1649b',
    500: '#8b1773',
    950: '#000000',
  },
}
SCSS
$custom: #8b1773;
$custom-light: #b1649b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1773",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 312.414,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.17571,
    "h": 338.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#8B1773
secondary
#3FBF5A
accent
#EE5F39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1773

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

Preview Lab → · Contrast checker → · Palette generator →

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