#8C1A4E#8C1A4E

#8C1A4E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 358.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8C1A4E
RGBrgb(140, 26, 78)
HSLhsl(333, 69%, 33%)
HSVhsv(333, 81%, 55%)
CMYKcmyk(0%, 81.4%, 44.3%, 45.1%)
CIE-LABlab(31.50, 49.94, -1.41)
CIE-LCHlch(31.50, 49.96, 358.38°)
OKLaboklab(42.97% 0.1536 -0.0031)
OKLCHoklch(42.97% 0.154 358.8)
XYZxyz(12.5607, 6.8660, 7.8701)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1A4E #1A8C58
analogous
#8C1A87 #8C1A4E #8C1F1A
triadic
#8C1A4E #4E8C1A #1A4E8C
tetradic
#8C1A4E #878C1A #1A8C58 #1F1A8C
square
#8C1A4E #878C1A #1A8C58 #1F1A8C
split-complementary
#8C1A4E #1A8C1F #1A878C
monochromatic
#250714 #581031 #8C1A4E #C0246B #DC448A

Accessibility & contrast

On white

8.85
#8C1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8C1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1A4E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1A4E#FFFFFF#000000##FFFFFF
##8C1A4E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#980132
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8c1a4e;
/* rgb */ color: rgb(140, 26, 78);
/* oklch */ color: oklch(43.0% 0.154 358.8);
Tailwind
colors: {
  custom: {
    50: '#b3647f',
    500: '#8c1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8c1a4e;
$custom-light: #b3647f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1a4e",
  "rgb": {
    "r": 140,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 332.632,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.15362,
    "h": 358.8
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#8C1A4E
secondary
#44BE86
accent
#EC9C3C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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