#8E1E40#8E1E40

#8E1E40 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.148 H 8.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8E1E40
RGBrgb(142, 30, 64)
HSLhsl(342, 65%, 34%)
HSVhsv(342, 79%, 56%)
CMYKcmyk(0%, 78.9%, 54.9%, 44.3%)
CIE-LABlab(31.92, 48.02, 8.47)
CIE-LCHlch(31.92, 48.76, 10.01°)
OKLaboklab(43.22% 0.1461 0.0217)
OKLCHoklch(43.22% 0.148 8.4)
XYZxyz(12.5462, 7.0513, 5.5499)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E40 #1E8E6C
analogous
#8E1E78 #8E1E40 #8E341E
triadic
#8E1E40 #408E1E #1E408E
tetradic
#8E1E40 #788E1E #1E8E6C #341E8E
square
#8E1E40 #788E1E #1E8E6C #341E8E
split-complementary
#8E1E40 #1E8E34 #1E788E
monochromatic
#290912 #5B1329 #8E1E40 #C12957 #D94D78

Accessibility & contrast

On white

8.71
#8E1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E40
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E40#FFFFFF#000000##FFFFFF
##8E1E401.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D41
Deuteranopia (green-blind)
#59533D
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1e40;
/* rgb */ color: rgb(142, 30, 64);
/* oklch */ color: oklch(43.2% 0.148 8.4);
Tailwind
colors: {
  custom: {
    50: '#b56574',
    500: '#8e1e40',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e40;
$custom-light: #b56574;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e40",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 341.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.14771,
    "h": 8.4
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#8E1E40
secondary
#4CBC9A
accent
#E8B540
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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