#8E1340#8E1340

#8E1340 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.157 H 6.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8E1340
RGBrgb(142, 19, 64)
HSLhsl(338, 76%, 32%)
HSVhsv(338, 87%, 56%)
CMYKcmyk(0%, 86.6%, 54.9%, 44.3%)
CIE-LABlab(30.85, 51.06, 6.97)
CIE-LCHlch(30.85, 51.54, 7.77°)
OKLaboklab(42.43% 0.156 0.018)
OKLCHoklch(42.43% 0.157 6.6)
XYZxyz(12.3148, 6.5885, 5.4728)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1340 #138E61
analogous
#8E137E #8E1340 #8E2413
triadic
#8E1340 #408E13 #13408E
tetradic
#8E1340 #7E8E13 #138E61 #24138E
square
#8E1340 #7E8E13 #138E61 #24138E
split-complementary
#8E1340 #138E24 #137E8E
monochromatic
#22050F #580C28 #8E1340 #C41A58 #E43776

Accessibility & contrast

On white

9.06
#8E1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1340
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1340#FFFFFF#000000##FFFFFF
##8E13401.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1340;
/* rgb */ color: rgb(142, 19, 64);
/* oklch */ color: oklch(42.4% 0.157 6.6);
Tailwind
colors: {
  custom: {
    50: '#b56274',
    500: '#8e1340',
    950: '#000000',
  },
}
SCSS
$custom: #8e1340;
$custom-light: #b56274;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1340",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 338.049,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.157,
    "h": 6.6
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#8E1340
secondary
#3BC291
accent
#F3AD35
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1340

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

Preview Lab → · Contrast checker → · Palette generator →

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