#8E2040#8E2040

#8E2040 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.146 H 8.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8E2040
RGBrgb(142, 32, 64)
HSLhsl(343, 63%, 34%)
HSVhsv(343, 77%, 56%)
CMYKcmyk(0%, 77.5%, 54.9%, 44.3%)
CIE-LABlab(32.16, 47.35, 8.80)
CIE-LCHlch(32.16, 48.16, 10.53°)
OKLaboklab(43.39% 0.144 0.0225)
OKLCHoklch(43.39% 0.146 8.9)
XYZxyz(12.5984, 7.1557, 5.5673)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2040 #208E6E
analogous
#8E2077 #8E2040 #8E3720
triadic
#8E2040 #408E20 #20408E
tetradic
#8E2040 #778E20 #208E6E #37208E
square
#8E2040 #778E20 #208E6E #37208E
split-complementary
#8E2040 #208E37 #20778E
monochromatic
#2A0913 #5C1529 #8E2040 #C02B57 #D85178

Accessibility & contrast

On white

8.64
#8E2040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E2040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2040
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2040#FFFFFF#000000##FFFFFF
##8E20401.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E41
Deuteranopia (green-blind)
#59543D
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2040;
/* rgb */ color: rgb(142, 32, 64);
/* oklch */ color: oklch(43.4% 0.146 8.9);
Tailwind
colors: {
  custom: {
    50: '#b56674',
    500: '#8e2040',
    950: '#000000',
  },
}
SCSS
$custom: #8e2040;
$custom-light: #b56674;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2040",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 342.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.14571,
    "h": 8.9
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#8E2040
secondary
#4FBB9B
accent
#E6B642
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E2040

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

Preview Lab → · Contrast checker → · Palette generator →

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