#8C1971#8C1971

#8C1971 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.173 H 339.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8C1971
RGBrgb(140, 25, 113)
HSLhsl(314, 70%, 32%)
HSVhsv(314, 82%, 55%)
CMYKcmyk(0%, 82.1%, 19.3%, 45.1%)
CIE-LABlab(32.84, 54.44, -22.02)
CIE-LCHlch(32.84, 58.72, 337.98°)
OKLaboklab(44.41% 0.1626 -0.0596)
OKLCHoklch(44.41% 0.173 339.9)
XYZxyz(14.1439, 7.4644, 16.3155)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1971 #198C34
analogous
#6E198C #8C1971 #8C1938
triadic
#8C1971 #718C19 #19718C
tetradic
#8C1971 #8C6E19 #198C34 #19388C
square
#8C1971 #8C6E19 #198C34 #19388C
split-complementary
#8C1971 #388C19 #198C6E
monochromatic
#24061D #581047 #8C1971 #C0229B #DD42B9

Accessibility & contrast

On white

8.42
#8C1971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8C1971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1971
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1971#FFFFFF#000000##FFFFFF
##8C19711.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#49546E
Tritanopia (blue-blind)
#951E44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c1971;
/* rgb */ color: rgb(140, 25, 113);
/* oklch */ color: oklch(44.4% 0.173 339.9);
Tailwind
colors: {
  custom: {
    50: '#b1659a',
    500: '#8c1971',
    950: '#000000',
  },
}
SCSS
$custom: #8c1971;
$custom-light: #b1659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1971",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 314.087,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44411,
    "c": 0.17319,
    "h": 339.9
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#8C1971
secondary
#43BE60
accent
#ED653B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8C1971

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

Preview Lab → · Contrast checker → · Palette generator →

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