#8E1840#8E1840

#8E1840 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 7.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1840
RGBrgb(142, 24, 64)
HSLhsl(340, 71%, 33%)
HSVhsv(340, 83%, 56%)
CMYKcmyk(0%, 83.1%, 54.9%, 44.3%)
CIE-LABlab(31.29, 49.81, 7.59)
CIE-LCHlch(31.29, 50.38, 8.66°)
OKLaboklab(42.75% 0.1519 0.0195)
OKLCHoklch(42.75% 0.153 7.3)
XYZxyz(12.4086, 6.7760, 5.5040)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1840 #188E66
analogous
#8E187B #8E1840 #8E2B18
triadic
#8E1840 #408E18 #18408E
tetradic
#8E1840 #7B8E18 #188E66 #2B188E
square
#8E1840 #7B8E18 #188E66 #2B188E
split-complementary
#8E1840 #188E2B #187B8E
monochromatic
#250611 #5A0F28 #8E1840 #C22158 #DF4177

Accessibility & contrast

On white

8.92
#8E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1840
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1840#FFFFFF#000000##FFFFFF
##8E18401.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1840;
/* rgb */ color: rgb(142, 24, 64);
/* oklch */ color: oklch(42.8% 0.153 7.3);
Tailwind
colors: {
  custom: {
    50: '#b56374',
    500: '#8e1840',
    950: '#000000',
  },
}
SCSS
$custom: #8e1840;
$custom-light: #b56374;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1840",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 339.661,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.15313,
    "h": 7.3
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#8E1840
secondary
#42C095
accent
#EEB13A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1840

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

Preview Lab → · Contrast checker → · Palette generator →

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