#8C2C4E#8C2C4E

#8C2C4E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.133 H 2.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8C2C4E
RGBrgb(140, 44, 78)
HSLhsl(339, 52%, 36%)
HSVhsv(339, 69%, 55%)
CMYKcmyk(0%, 68.6%, 44.3%, 45.1%)
CIE-LABlab(33.83, 43.42, 1.99)
CIE-LCHlch(33.83, 43.47, 2.62°)
OKLaboklab(44.69% 0.1328 0.0056)
OKLCHoklch(44.69% 0.133 2.4)
XYZxyz(13.0920, 7.9285, 8.0472)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2C4E #2C8C6A
analogous
#8C2C7E #8C2C4E #8C3A2C
triadic
#8C2C4E #4E8C2C #2C4E8C
tetradic
#8C2C4E #7E8C2C #2C8C6A #3A2C8C
square
#8C2C4E #7E8C2C #2C8C6A #3A2C8C
split-complementary
#8C2C4E #2C8C3A #2C7E8C
monochromatic
#2F0F1A #5D1D34 #8C2C4E #BB3B68 #CE648A

Accessibility & contrast

On white

8.12
#8C2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8C2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2C4E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2C4E#FFFFFF#000000##FFFFFF
##8C2C4E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#59564C
Tritanopia (blue-blind)
#98203A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c2c4e;
/* rgb */ color: rgb(140, 44, 78);
/* oklch */ color: oklch(44.7% 0.133 2.4);
Tailwind
colors: {
  custom: {
    50: '#b26c7f',
    500: '#8c2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #8c2c4e;
$custom-light: #b26c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2c4e",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 338.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.1329,
    "h": 2.4
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#8C2C4E
secondary
#5FB596
accent
#DCA94C
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8C2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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