#8E1141#8E1141

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

Color values

HEX#8E1141
RGBrgb(142, 17, 65)
HSLhsl(337, 79%, 31%)
HSVhsv(337, 88%, 56%)
CMYKcmyk(0%, 88%, 54.2%, 44.3%)
CIE-LABlab(30.72, 51.58, 6.12)
CIE-LCHlch(30.72, 51.95, 6.77°)
OKLaboklab(42.35% 0.1578 0.0159)
OKLCHoklch(42.35% 0.159 5.8)
XYZxyz(12.3111, 6.5351, 5.6132)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1141 #118E5E
analogous
#8E117F #8E1141 #8E1F11
triadic
#8E1141 #418E11 #11418E
tetradic
#8E1141 #7F8E11 #118E5E #1F118E
square
#8E1141 #7F8E11 #118E5E #1F118E
split-complementary
#8E1141 #118E1F #117F8E
monochromatic
#21040F #570A28 #8E1141 #C5185A #E73378

Accessibility & contrast

On white

9.10
#8E1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1141
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1141#FFFFFF#000000##FFFFFF
##8E11411.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#9B0028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1141;
/* rgb */ color: rgb(142, 17, 65);
/* oklch */ color: oklch(42.3% 0.159 5.8);
Tailwind
colors: {
  custom: {
    50: '#b56175',
    500: '#8e1141',
    950: '#000000',
  },
}
SCSS
$custom: #8e1141;
$custom-light: #b56175;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1141",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 336.96,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.15859,
    "h": 5.8
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#8E1141
secondary
#38C28D
accent
#F5AA33
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1141

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

Preview Lab → · Contrast checker → · Palette generator →

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