#8E1145#8E1145

#8E1145 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 3.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8E1145
RGBrgb(142, 17, 69)
HSLhsl(335, 79%, 31%)
HSVhsv(335, 88%, 56%)
CMYKcmyk(0%, 88%, 51.4%, 44.3%)
CIE-LABlab(30.84, 51.91, 3.63)
CIE-LCHlch(30.84, 52.04, 3.99°)
OKLaboklab(42.47% 0.1593 0.0098)
OKLCHoklch(42.47% 0.16 3.5)
XYZxyz(12.4311, 6.5831, 6.2452)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1145 #118E5A
analogous
#8E1183 #8E1145 #8E1B11
triadic
#8E1145 #458E11 #11458E
tetradic
#8E1145 #838E11 #118E5A #1B118E
square
#8E1145 #838E11 #118E5A #1B118E
split-complementary
#8E1145 #118E1B #11838E
monochromatic
#210410 #570A2A #8E1145 #C51860 #E7337E

Accessibility & contrast

On white

9.07
#8E1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1145
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1145#FFFFFF#000000##FFFFFF
##8E11451.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1145;
/* rgb */ color: rgb(142, 17, 69);
/* oklch */ color: oklch(42.5% 0.160 3.5);
Tailwind
colors: {
  custom: {
    50: '#b56178',
    500: '#8e1145',
    950: '#000000',
  },
}
SCSS
$custom: #8e1145;
$custom-light: #b56178;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1145",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 335.04,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.1596,
    "h": 3.5
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#8E1145
secondary
#38C289
accent
#F5A433
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1145

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

Preview Lab → · Contrast checker → · Palette generator →

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