#8E1E4D#8E1E4D

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

Color values

HEX#8E1E4D
RGBrgb(142, 30, 77)
HSLhsl(335, 65%, 34%)
HSVhsv(335, 79%, 56%)
CMYKcmyk(0%, 78.9%, 45.8%, 44.3%)
CIE-LABlab(32.30, 49.18, 0.45)
CIE-LCHlch(32.30, 49.18, 0.53°)
OKLaboklab(43.61% 0.151 0.0017)
OKLCHoklch(43.61% 0.151 0.7)
XYZxyz(12.9602, 7.2169, 7.7303)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E4D #1E8E5F
analogous
#8E1E85 #8E1E4D #8E271E
triadic
#8E1E4D #4D8E1E #1E4D8E
tetradic
#8E1E4D #858E1E #1E8E5F #271E8E
square
#8E1E4D #858E1E #1E8E5F #271E8E
split-complementary
#8E1E4D #1E8E27 #1E858E
monochromatic
#290916 #5B1332 #8E1E4D #C12968 #D94D88

Accessibility & contrast

On white

8.60
#8E1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1E4D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E4D#FFFFFF#000000##FFFFFF
##8E1E4D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4E
Deuteranopia (green-blind)
#56544A
Tritanopia (blue-blind)
#9A0633
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1e4d;
/* rgb */ color: rgb(142, 30, 77);
/* oklch */ color: oklch(43.6% 0.151 0.7);
Tailwind
colors: {
  custom: {
    50: '#b4667e',
    500: '#8e1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e4d;
$custom-light: #b4667e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e4d",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 334.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.15104,
    "h": 0.7
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#8E1E4D
secondary
#4CBC8D
accent
#E8A140
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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