#8E1140#8E1140

#8E1140 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.158 H 6.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8E1140
RGBrgb(142, 17, 64)
HSLhsl(337, 79%, 31%)
HSVhsv(337, 88%, 56%)
CMYKcmyk(0%, 88%, 54.9%, 44.3%)
CIE-LABlab(30.70, 51.50, 6.75)
CIE-LCHlch(30.70, 51.95, 7.47°)
OKLaboklab(42.32% 0.1574 0.0174)
OKLCHoklch(42.32% 0.158 6.3)
XYZxyz(12.2824, 6.5237, 5.4619)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1140 #118E5F
analogous
#8E117E #8E1140 #8E2011
triadic
#8E1140 #408E11 #11408E
tetradic
#8E1140 #7E8E11 #118E5F #20118E
square
#8E1140 #7E8E11 #118E5F #20118E
split-complementary
#8E1140 #118E20 #117E8E
monochromatic
#21040F #570A27 #8E1140 #C51859 #E73376

Accessibility & contrast

On white

9.11
#8E1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8E1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1140
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1140#FFFFFF#000000##FFFFFF
##8E11401.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1140;
/* rgb */ color: rgb(142, 17, 64);
/* oklch */ color: oklch(42.3% 0.158 6.3);
Tailwind
colors: {
  custom: {
    50: '#b56174',
    500: '#8e1140',
    950: '#000000',
  },
}
SCSS
$custom: #8e1140;
$custom-light: #b56174;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1140",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 337.44,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42316,
    "c": 0.15837,
    "h": 6.3
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#8E1140
secondary
#38C28F
accent
#F5AC33
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1140

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

Preview Lab → · Contrast checker → · Palette generator →

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