#8C2A4D#8C2A4D

#8C2A4D is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.135 H 2.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8C2A4D
RGBrgb(140, 42, 77)
HSLhsl(339, 54%, 36%)
HSVhsv(339, 70%, 55%)
CMYKcmyk(0%, 70%, 45%, 45.1%)
CIE-LABlab(33.50, 44.16, 2.15)
CIE-LCHlch(33.50, 44.21, 2.79°)
OKLaboklab(44.43% 0.1351 0.006)
OKLCHoklch(44.43% 0.135 2.6)
XYZxyz(12.9837, 7.7688, 7.8355)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2A4D #2A8C69
analogous
#8C2A7E #8C2A4D #8C382A
triadic
#8C2A4D #4D8C2A #2A4D8C
tetradic
#8C2A4D #7E8C2A #2A8C69 #382A8C
square
#8C2A4D #7E8C2A #2A8C69 #382A8C
split-complementary
#8C2A4D #2A8C38 #2A7E8C
monochromatic
#2E0E19 #5D1C33 #8C2A4D #BB3867 #D06188

Accessibility & contrast

On white

8.22
#8C2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8C2A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2A4D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2A4D#FFFFFF#000000##FFFFFF
##8C2A4D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#59564B
Tritanopia (blue-blind)
#981C38
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c2a4d;
/* rgb */ color: rgb(140, 42, 77);
/* oklch */ color: oklch(44.4% 0.135 2.6);
Tailwind
colors: {
  custom: {
    50: '#b26b7e',
    500: '#8c2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #8c2a4d;
$custom-light: #b26b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2a4d",
  "rgb": {
    "r": 140,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 338.571,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44428,
    "c": 0.13522,
    "h": 2.6
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#8C2A4D
secondary
#5CB596
accent
#DDA94B
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8C2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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