#8E113A#8E113A

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

Color values

HEX#8E113A
RGBrgb(142, 17, 58)
HSLhsl(340, 79%, 31%)
HSVhsv(340, 88%, 56%)
CMYKcmyk(0%, 88%, 59.2%, 44.3%)
CIE-LABlab(30.54, 51.06, 10.53)
CIE-LCHlch(30.54, 52.13, 11.66°)
OKLaboklab(42.15% 0.155 0.0264)
OKLCHoklch(42.15% 0.157 9.7)
XYZxyz(12.1207, 6.4590, 4.6107)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E113A #118E65
analogous
#8E1178 #8E113A #8E2611
triadic
#8E113A #3A8E11 #113A8E
tetradic
#8E113A #788E11 #118E65 #26118E
square
#8E113A #788E11 #118E65 #26118E
split-complementary
#8E113A #118E26 #11788E
monochromatic
#21040D #570A24 #8E113A #C51850 #E7336E

Accessibility & contrast

On white

9.16
#8E113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E113A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E113A#FFFFFF#000000##FFFFFF
##8E113A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383B
Deuteranopia (green-blind)
#575137
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e113a;
/* rgb */ color: rgb(142, 17, 58);
/* oklch */ color: oklch(42.2% 0.157 9.7);
Tailwind
colors: {
  custom: {
    50: '#b6616f',
    500: '#8e113a',
    950: '#000000',
  },
}
SCSS
$custom: #8e113a;
$custom-light: #b6616f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e113a",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 340.32,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.15726,
    "h": 9.7
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#8E113A
secondary
#38C295
accent
#F5B533
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E113A

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

Preview Lab → · Contrast checker → · Palette generator →

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