#8E1146#8E1146

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

Color values

HEX#8E1146
RGBrgb(142, 17, 70)
HSLhsl(335, 79%, 31%)
HSVhsv(335, 88%, 56%)
CMYKcmyk(0%, 88%, 50.7%, 44.3%)
CIE-LABlab(30.87, 52.00, 3.00)
CIE-LCHlch(30.87, 52.08, 3.31°)
OKLaboklab(42.5% 0.1597 0.0082)
OKLCHoklch(42.5% 0.16 2.9)
XYZxyz(12.4624, 6.5957, 6.4100)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1146 #118E59
analogous
#8E1184 #8E1146 #8E1A11
triadic
#8E1146 #468E11 #11468E
tetradic
#8E1146 #848E11 #118E59 #1A118E
square
#8E1146 #848E11 #118E59 #1A118E
split-complementary
#8E1146 #118E1A #11848E
monochromatic
#210410 #570A2B #8E1146 #C51861 #E7337F

Accessibility & contrast

On white

9.06
#8E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1146
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1146#FFFFFF#000000##FFFFFF
##8E11461.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1146;
/* rgb */ color: rgb(142, 17, 70);
/* oklch */ color: oklch(42.5% 0.160 2.9);
Tailwind
colors: {
  custom: {
    50: '#b56179',
    500: '#8e1146',
    950: '#000000',
  },
}
SCSS
$custom: #8e1146;
$custom-light: #b56179;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1146",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 334.56,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.15988,
    "h": 2.9
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#8E1146
secondary
#38C288
accent
#F5A333
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1146

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

Preview Lab → · Contrast checker → · Palette generator →

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