#8E113E#8E113E

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

Color values

HEX#8E113E
RGBrgb(142, 17, 62)
HSLhsl(338, 79%, 31%)
HSVhsv(338, 88%, 56%)
CMYKcmyk(0%, 88%, 56.3%, 44.3%)
CIE-LABlab(30.64, 51.35, 8.01)
CIE-LCHlch(30.64, 51.97, 8.86°)
OKLaboklab(42.26% 0.1566 0.0205)
OKLCHoklch(42.26% 0.158 7.4)
XYZxyz(12.2265, 6.5013, 5.1676)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E113E #118E61
analogous
#8E117C #8E113E #8E2211
triadic
#8E113E #3E8E11 #113E8E
tetradic
#8E113E #7C8E11 #118E61 #22118E
square
#8E113E #7C8E11 #118E61 #22118E
split-complementary
#8E113E #118E22 #117C8E
monochromatic
#21040E #570A26 #8E113E #C51856 #E73374

Accessibility & contrast

On white

9.13
#8E113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E113E
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E113E#FFFFFF#000000##FFFFFF
##8E113E1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#56513B
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e113e;
/* rgb */ color: rgb(142, 17, 62);
/* oklch */ color: oklch(42.3% 0.158 7.4);
Tailwind
colors: {
  custom: {
    50: '#b56172',
    500: '#8e113e',
    950: '#000000',
  },
}
SCSS
$custom: #8e113e;
$custom-light: #b56172;
$custom-dark: #000000;
JSON
{
  "hex": "#8e113e",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 338.4,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.15795,
    "h": 7.4
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#8E113E
secondary
#38C291
accent
#F5AF33
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E113E

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

Preview Lab → · Contrast checker → · Palette generator →

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