#8E1E4C#8E1E4C

#8E1E4C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.151 H 1.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8E1E4C
RGBrgb(142, 30, 76)
HSLhsl(335, 65%, 34%)
HSVhsv(335, 79%, 56%)
CMYKcmyk(0%, 78.9%, 46.5%, 44.3%)
CIE-LABlab(32.26, 49.08, 1.06)
CIE-LCHlch(32.26, 49.10, 1.24°)
OKLaboklab(43.58% 0.1507 0.0033)
OKLCHoklch(43.58% 0.151 1.2)
XYZxyz(12.9252, 7.2029, 7.5457)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E4C #1E8E60
analogous
#8E1E84 #8E1E4C #8E281E
triadic
#8E1E4C #4C8E1E #1E4C8E
tetradic
#8E1E4C #848E1E #1E8E60 #281E8E
square
#8E1E4C #848E1E #1E8E60 #281E8E
split-complementary
#8E1E4C #1E8E28 #1E848E
monochromatic
#290916 #5B1331 #8E1E4C #C12967 #D94D87

Accessibility & contrast

On white

8.61
#8E1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8E1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E4C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E4C#FFFFFF#000000##FFFFFF
##8E1E4C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4D
Deuteranopia (green-blind)
#565449
Tritanopia (blue-blind)
#9B0532
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1e4c;
/* rgb */ color: rgb(142, 30, 76);
/* oklch */ color: oklch(43.6% 0.151 1.2);
Tailwind
colors: {
  custom: {
    50: '#b4667d',
    500: '#8e1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e4c;
$custom-light: #b4667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e4c",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 335.357,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43579,
    "c": 0.15071,
    "h": 1.2
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#8E1E4C
secondary
#4CBC8E
accent
#E8A340
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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