#8C1771#8C1771

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

Color values

HEX#8C1771
RGBrgb(140, 23, 113)
HSLhsl(314, 72%, 32%)
HSVhsv(314, 84%, 55%)
CMYKcmyk(0%, 83.6%, 19.3%, 45.1%)
CIE-LABlab(32.66, 54.96, -22.30)
CIE-LCHlch(32.66, 59.31, 337.91°)
OKLaboklab(44.28% 0.1642 -0.0603)
OKLCHoklch(44.28% 0.175 339.8)
XYZxyz(14.1027, 7.3820, 16.3017)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1771 #178C32
analogous
#6D178C #8C1771 #8C1737
triadic
#8C1771 #718C17 #17718C
tetradic
#8C1771 #8C6D17 #178C32 #17378C
square
#8C1771 #8C6D17 #178C32 #17378C
split-complementary
#8C1771 #378C17 #178C6D
monochromatic
#23061C #570E47 #8C1771 #C1209B #DF3EBA

Accessibility & contrast

On white

8.48
#8C1771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8C1771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1771
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1771#FFFFFF#000000##FFFFFF
##8C17711.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#951C44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c1771;
/* rgb */ color: rgb(140, 23, 113);
/* oklch */ color: oklch(44.3% 0.175 339.8);
Tailwind
colors: {
  custom: {
    50: '#b2649a',
    500: '#8c1771',
    950: '#000000',
  },
}
SCSS
$custom: #8c1771;
$custom-light: #b2649a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1771",
  "rgb": {
    "r": 140,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 313.846,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.17495,
    "h": 339.8
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#8C1771
secondary
#3FBF5D
accent
#EF6339
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8C1771

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

Preview Lab → · Contrast checker → · Palette generator →

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