#8E1440#8E1440

#8E1440 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 6.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1440
RGBrgb(142, 20, 64)
HSLhsl(338, 75%, 32%)
HSVhsv(338, 86%, 56%)
CMYKcmyk(0%, 85.9%, 54.9%, 44.3%)
CIE-LABlab(30.93, 50.83, 7.08)
CIE-LCHlch(30.93, 51.32, 7.93°)
OKLaboklab(42.49% 0.1552 0.0183)
OKLCHoklch(42.49% 0.156 6.7)
XYZxyz(12.3321, 6.6231, 5.4785)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1440 #148E62
analogous
#8E147D #8E1440 #8E2514
triadic
#8E1440 #408E14 #14408E
tetradic
#8E1440 #7D8E14 #148E62 #25148E
square
#8E1440 #7D8E14 #148E62 #25148E
split-complementary
#8E1440 #148E25 #147D8E
monochromatic
#230510 #580C28 #8E1440 #C41C58 #E33977

Accessibility & contrast

On white

9.04
#8E1440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1440
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1440#FFFFFF#000000##FFFFFF
##8E14401.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1440;
/* rgb */ color: rgb(142, 20, 64);
/* oklch */ color: oklch(42.5% 0.156 6.7);
Tailwind
colors: {
  custom: {
    50: '#b56274',
    500: '#8e1440',
    950: '#000000',
  },
}
SCSS
$custom: #8e1440;
$custom-light: #b56274;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1440",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 338.361,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.15628,
    "h": 6.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#8E1440
secondary
#3CC292
accent
#F2AE36
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1440

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

Preview Lab → · Contrast checker → · Palette generator →

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