#8E114E#8E114E

#8E114E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.163 H 358.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8E114E
RGBrgb(142, 17, 78)
HSLhsl(331, 79%, 31%)
HSVhsv(331, 88%, 56%)
CMYKcmyk(0%, 88%, 45.1%, 44.3%)
CIE-LABlab(31.12, 52.72, -1.92)
CIE-LCHlch(31.12, 52.76, 357.91°)
OKLaboklab(42.77% 0.1625 -0.0044)
OKLCHoklch(42.77% 0.163 358.4)
XYZxyz(12.7320, 6.7035, 7.8297)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E114E #118E51
analogous
#8E118C #8E114E #8E1211
triadic
#8E114E #4E8E11 #114E8E
tetradic
#8E114E #8C8E11 #118E51 #12118E
square
#8E114E #8C8E11 #118E51 #12118E
split-complementary
#8E114E #118E12 #118C8E
monochromatic
#210412 #570A30 #8E114E #C5186C #E7338B

Accessibility & contrast

On white

8.97
#8E114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E114E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E114E#FFFFFF#000000##FFFFFF
##8E114E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4F
Deuteranopia (green-blind)
#53514B
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e114e;
/* rgb */ color: rgb(142, 17, 78);
/* oklch */ color: oklch(42.8% 0.163 358.4);
Tailwind
colors: {
  custom: {
    50: '#b5627f',
    500: '#8e114e',
    950: '#000000',
  },
}
SCSS
$custom: #8e114e;
$custom-light: #b5627f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e114e",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 330.72,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.16251,
    "h": 358.4
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#8E114E
secondary
#38C27F
accent
#F59633
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E114E

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

Preview Lab → · Contrast checker → · Palette generator →

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