#8E1C4E#8E1C4E

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

Color values

HEX#8E1C4E
RGBrgb(142, 28, 78)
HSLhsl(334, 67%, 33%)
HSVhsv(334, 80%, 56%)
CMYKcmyk(0%, 80.3%, 45.1%, 44.3%)
CIE-LABlab(32.11, 49.90, -0.48)
CIE-LCHlch(32.11, 49.90, 359.45°)
OKLaboklab(43.49% 0.1534 -0.0007)
OKLCHoklch(43.49% 0.153 359.7)
XYZxyz(12.9468, 7.1331, 7.9013)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C4E #1C8E5C
analogous
#8E1C87 #8E1C4E #8E231C
triadic
#8E1C4E #4E8E1C #1C4E8E
tetradic
#8E1C4E #878E1C #1C8E5C #231C8E
square
#8E1C4E #878E1C #1C8E5C #231C8E
split-complementary
#8E1C4E #1C8E23 #1C878E
monochromatic
#280816 #5B1232 #8E1C4E #C1266A #DB4989

Accessibility & contrast

On white

8.66
#8E1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C4E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C4E#FFFFFF#000000##FFFFFF
##8E1C4E1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#56534B
Tritanopia (blue-blind)
#9A0332
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1c4e;
/* rgb */ color: rgb(142, 28, 78);
/* oklch */ color: oklch(43.5% 0.153 359.7);
Tailwind
colors: {
  custom: {
    50: '#b4657f',
    500: '#8e1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c4e;
$custom-light: #b4657f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c4e",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 333.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43485,
    "c": 0.15337,
    "h": 359.7
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#8E1C4E
secondary
#49BD8A
accent
#EA9E3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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