#8E1C4C#8E1C4C

#8E1C4C is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.153 H 0.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8E1C4C
RGBrgb(142, 28, 76)
HSLhsl(335, 67%, 33%)
HSVhsv(335, 80%, 56%)
CMYKcmyk(0%, 80.3%, 46.5%, 44.3%)
CIE-LABlab(32.04, 49.71, 0.74)
CIE-LCHlch(32.04, 49.71, 0.86°)
OKLaboklab(43.42% 0.1527 0.0025)
OKLCHoklch(43.42% 0.153 0.9)
XYZxyz(12.8761, 7.1048, 7.5294)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C4C #1C8E5E
analogous
#8E1C85 #8E1C4C #8E251C
triadic
#8E1C4C #4C8E1C #1C4C8E
tetradic
#8E1C4C #858E1C #1C8E5E #251C8E
square
#8E1C4C #858E1C #1C8E5E #251C8E
split-complementary
#8E1C4C #1C8E25 #1C858E
monochromatic
#280815 #5B1231 #8E1C4C #C12667 #DB4987

Accessibility & contrast

On white

8.68
#8E1C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C4C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C4C#FFFFFF#000000##FFFFFF
##8E1C4C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#565349
Tritanopia (blue-blind)
#9B0131
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c4c;
/* rgb */ color: rgb(142, 28, 76);
/* oklch */ color: oklch(43.4% 0.153 0.9);
Tailwind
colors: {
  custom: {
    50: '#b4657d',
    500: '#8e1c4c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c4c;
$custom-light: #b4657d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c4c",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 334.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.15269,
    "h": 0.9
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#8E1C4C
secondary
#49BD8C
accent
#EAA13E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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