#8E2140#8E2140

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

Color values

HEX#8E2140
RGBrgb(142, 33, 64)
HSLhsl(343, 62%, 34%)
HSVhsv(343, 77%, 56%)
CMYKcmyk(0%, 76.8%, 54.9%, 44.3%)
CIE-LABlab(32.28, 47.01, 8.97)
CIE-LCHlch(32.28, 47.86, 10.80°)
OKLaboklab(43.48% 0.1429 0.0229)
OKLCHoklch(43.48% 0.145 9.1)
XYZxyz(12.6258, 7.2104, 5.5764)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2140 #218E6F
analogous
#8E2177 #8E2140 #8E3921
triadic
#8E2140 #408E21 #21408E
tetradic
#8E2140 #778E21 #218E6F #39218E
square
#8E2140 #778E21 #218E6F #39218E
split-complementary
#8E2140 #218E39 #21778E
monochromatic
#2B0A13 #5C152A #8E2140 #C02D56 #D75278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2140#FFFFFF#000000##FFFFFF
##8E21401.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)
#3D3E41
Deuteranopia (green-blind)
#59543D
Tritanopia (blue-blind)
#9B022E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2140;
/* rgb */ color: rgb(142, 33, 64);
/* oklch */ color: oklch(43.5% 0.145 9.1);
Tailwind
colors: {
  custom: {
    50: '#b56774',
    500: '#8e2140',
    950: '#000000',
  },
}
SCSS
$custom: #8e2140;
$custom-light: #b56774;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2140",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 342.936,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.14469,
    "h": 9.1
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#8E2140
secondary
#50BA9C
accent
#E5B742
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2140

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

Preview Lab → · Contrast checker → · Palette generator →

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