#8E114D#8E114D

#8E114D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.162 H 359.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8E114D
RGBrgb(142, 17, 77)
HSLhsl(331, 79%, 31%)
HSVhsv(331, 88%, 56%)
CMYKcmyk(0%, 88%, 45.8%, 44.3%)
CIE-LABlab(31.09, 52.62, -1.31)
CIE-LCHlch(31.09, 52.64, 358.57°)
OKLaboklab(42.73% 0.1621 -0.0028)
OKLCHoklch(42.73% 0.162 359)
XYZxyz(12.6964, 6.6893, 7.6423)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E114D #118E52
analogous
#8E118B #8E114D #8E1311
triadic
#8E114D #4D8E11 #114D8E
tetradic
#8E114D #8B8E11 #118E52 #13118E
square
#8E114D #8B8E11 #118E52 #13118E
split-complementary
#8E114D #118E13 #118B8E
monochromatic
#210412 #570A2F #8E114D #C5186B #E73389

Accessibility & contrast

On white

8.98
#8E114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E114D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E114D#FFFFFF#000000##FFFFFF
##8E114D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4E
Deuteranopia (green-blind)
#53514A
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e114d;
/* rgb */ color: rgb(142, 17, 77);
/* oklch */ color: oklch(42.7% 0.162 359.0);
Tailwind
colors: {
  custom: {
    50: '#b5627e',
    500: '#8e114d',
    950: '#000000',
  },
}
SCSS
$custom: #8e114d;
$custom-light: #b5627e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e114d",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 331.2,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.16214,
    "h": 359
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#8E114D
secondary
#38C280
accent
#F59833
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E114D

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

Preview Lab → · Contrast checker → · Palette generator →

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