#8E2240#8E2240

#8E2240 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.144 H 9.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2240
RGBrgb(142, 34, 64)
HSLhsl(343, 61%, 35%)
HSVhsv(343, 76%, 56%)
CMYKcmyk(0%, 76.1%, 54.9%, 44.3%)
CIE-LABlab(32.41, 46.66, 9.15)
CIE-LCHlch(32.41, 47.55, 11.09°)
OKLaboklab(43.57% 0.1417 0.0233)
OKLCHoklch(43.57% 0.144 9.3)
XYZxyz(12.6539, 7.2668, 5.5858)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2240 #228E70
analogous
#8E2276 #8E2240 #8E3A22
triadic
#8E2240 #408E22 #22408E
tetradic
#8E2240 #768E22 #228E70 #3A228E
square
#8E2240 #768E22 #228E70 #3A228E
split-complementary
#8E2240 #228E3A #22768E
monochromatic
#2B0A13 #5D162A #8E2240 #BF2E56 #D65478

Accessibility & contrast

On white

8.56
#8E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2240
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2240#FFFFFF#000000##FFFFFF
##8E22401.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E41
Deuteranopia (green-blind)
#5A543D
Tritanopia (blue-blind)
#9B042F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2240;
/* rgb */ color: rgb(142, 34, 64);
/* oklch */ color: oklch(43.6% 0.144 9.3);
Tailwind
colors: {
  custom: {
    50: '#b56774',
    500: '#8e2240',
    950: '#000000',
  },
}
SCSS
$custom: #8e2240;
$custom-light: #b56774;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2240",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 343.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43574,
    "c": 0.14364,
    "h": 9.3
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#8E2240
secondary
#52BA9D
accent
#E4B843
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2240

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

Preview Lab → · Contrast checker → · Palette generator →

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