#8E113B#8E113B

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

Color values

HEX#8E113B
RGBrgb(142, 17, 59)
HSLhsl(340, 79%, 31%)
HSVhsv(340, 88%, 56%)
CMYKcmyk(0%, 88%, 58.5%, 44.3%)
CIE-LABlab(30.57, 51.13, 9.90)
CIE-LCHlch(30.57, 52.08, 10.96°)
OKLaboklab(42.18% 0.1554 0.0249)
OKLCHoklch(42.18% 0.157 9.1)
XYZxyz(12.1464, 6.4693, 4.7459)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E113B #118E64
analogous
#8E1179 #8E113B #8E2511
triadic
#8E113B #3B8E11 #113B8E
tetradic
#8E113B #798E11 #118E64 #25118E
square
#8E113B #798E11 #118E64 #25118E
split-complementary
#8E113B #118E25 #11798E
monochromatic
#21040E #570A24 #8E113B #C51852 #E7336F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E113B#FFFFFF#000000##FFFFFF
##8E113B1.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)
#37383C
Deuteranopia (green-blind)
#575138
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e113b;
/* rgb */ color: rgb(142, 17, 59);
/* oklch */ color: oklch(42.2% 0.157 9.1);
Tailwind
colors: {
  custom: {
    50: '#b66170',
    500: '#8e113b',
    950: '#000000',
  },
}
SCSS
$custom: #8e113b;
$custom-light: #b66170;
$custom-dark: #000000;
JSON
{
  "hex": "#8e113b",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 339.84,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.15742,
    "h": 9.1
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#8E113B
secondary
#38C294
accent
#F5B433
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E113B

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

Preview Lab → · Contrast checker → · Palette generator →

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