#8E113C#8E113C

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

Color values

HEX#8E113C
RGBrgb(142, 17, 60)
HSLhsl(339, 79%, 31%)
HSVhsv(339, 88%, 56%)
CMYKcmyk(0%, 88%, 57.7%, 44.3%)
CIE-LABlab(30.59, 51.20, 9.27)
CIE-LCHlch(30.59, 52.03, 10.26°)
OKLaboklab(42.21% 0.1558 0.0235)
OKLCHoklch(42.21% 0.158 8.6)
XYZxyz(12.1726, 6.4798, 4.8839)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E113C #118E63
analogous
#8E117A #8E113C #8E2411
triadic
#8E113C #3C8E11 #113C8E
tetradic
#8E113C #7A8E11 #118E63 #24118E
square
#8E113C #7A8E11 #118E63 #24118E
split-complementary
#8E113C #118E24 #117A8E
monochromatic
#21040E #570A25 #8E113C #C51853 #E73371

Accessibility & contrast

On white

9.15
#8E113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E113C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E113C#FFFFFF#000000##FFFFFF
##8E113C1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383D
Deuteranopia (green-blind)
#565139
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e113c;
/* rgb */ color: rgb(142, 17, 60);
/* oklch */ color: oklch(42.2% 0.158 8.6);
Tailwind
colors: {
  custom: {
    50: '#b66171',
    500: '#8e113c',
    950: '#000000',
  },
}
SCSS
$custom: #8e113c;
$custom-light: #b66171;
$custom-dark: #000000;
JSON
{
  "hex": "#8e113c",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 339.36,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.15758,
    "h": 8.6
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#8E113C
secondary
#38C293
accent
#F5B233
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E113C

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

Preview Lab → · Contrast checker → · Palette generator →

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