#8E114F#8E114F

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

Color values

HEX#8E114F
RGBrgb(142, 17, 79)
HSLhsl(330, 79%, 31%)
HSVhsv(330, 88%, 56%)
CMYKcmyk(0%, 88%, 44.4%, 44.3%)
CIE-LABlab(31.16, 52.82, -2.53)
CIE-LCHlch(31.16, 52.88, 357.25°)
OKLaboklab(42.8% 0.1628 -0.006)
OKLCHoklch(42.8% 0.163 357.9)
XYZxyz(12.7681, 6.7179, 8.0200)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E114F #118E50
analogous
#8E118D #8E114F #8E1211
triadic
#8E114F #4F8E11 #114F8E
tetradic
#8E114F #8D8E11 #118E50 #12118E
square
#8E114F #8D8E11 #118E50 #12118E
split-complementary
#8E114F #118E12 #118D8E
monochromatic
#210412 #570A31 #8E114F #C5186D #E7338C

Accessibility & contrast

On white

8.96
#8E114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E114F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E114F#FFFFFF#000000##FFFFFF
##8E114F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B50
Deuteranopia (green-blind)
#53514C
Tritanopia (blue-blind)
#9A002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e114f;
/* rgb */ color: rgb(142, 17, 79);
/* oklch */ color: oklch(42.8% 0.163 357.9);
Tailwind
colors: {
  custom: {
    50: '#b46280',
    500: '#8e114f',
    950: '#000000',
  },
}
SCSS
$custom: #8e114f;
$custom-light: #b46280;
$custom-dark: #000000;
JSON
{
  "hex": "#8e114f",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 330.24,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.16288,
    "h": 357.9
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#8E114F
secondary
#38C27E
accent
#F59533
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E114F

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

Preview Lab → · Contrast checker → · Palette generator →

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