#8C2159#8C2159

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

Color values

HEX#8C2159
RGBrgb(140, 33, 89)
HSLhsl(329, 62%, 34%)
HSVhsv(329, 76%, 55%)
CMYKcmyk(0%, 76.4%, 36.4%, 45.1%)
CIE-LABlab(32.67, 48.90, -6.86)
CIE-LCHlch(32.67, 49.38, 352.01°)
OKLaboklab(43.95% 0.15 -0.0176)
OKLCHoklch(43.95% 0.151 353.3)
XYZxyz(13.1631, 7.3860, 10.1817)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2159 #218C54
analogous
#8A218C #8C2159 #8C2124
triadic
#8C2159 #598C21 #21598C
tetradic
#8C2159 #8C8A21 #218C54 #21248C
square
#8C2159 #8C8A21 #218C54 #21248C
split-complementary
#8C2159 #248C21 #218C8A
monochromatic
#290A1A #5A153A #8C2159 #BE2D78 #D65197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C2159#FFFFFF#000000##FFFFFF
##8C21591.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)
#35405A
Deuteranopia (green-blind)
#535457
Tritanopia (blue-blind)
#97173A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c2159;
/* rgb */ color: rgb(140, 33, 89);
/* oklch */ color: oklch(44.0% 0.151 353.3);
Tailwind
colors: {
  custom: {
    50: '#b26787',
    500: '#8c2159',
    950: '#000000',
  },
}
SCSS
$custom: #8c2159;
$custom-light: #b26787;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2159",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 328.598,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.151,
    "h": 353.3
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#8C2159
secondary
#4FB982
accent
#E59043
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8C2159

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

Preview Lab → · Contrast checker → · Palette generator →

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