#8E1F5A#8E1F5A

#8E1F5A is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.155 H 353.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E1F5A
RGBrgb(142, 31, 90)
HSLhsl(328, 64%, 34%)
HSVhsv(328, 78%, 56%)
CMYKcmyk(0%, 78.2%, 36.6%, 44.3%)
CIE-LABlab(32.86, 50.24, -7.20)
CIE-LCHlch(32.86, 50.75, 351.85°)
OKLaboklab(44.17% 0.1542 -0.0184)
OKLCHoklch(44.17% 0.155 353.2)
XYZxyz(13.4916, 7.4706, 10.4024)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F5A #1F8E53
analogous
#8B1F8E #8E1F5A #8E1F23
triadic
#8E1F5A #5A8E1F #1F5A8E
tetradic
#8E1F5A #8E8B1F #1F8E53 #1F238E
square
#8E1F5A #8E8B1F #1F8E53 #1F238E
split-complementary
#8E1F5A #238E1F #1F8E8B
monochromatic
#2A091A #5C143A #8E1F5A #C02A7A #D94F98

Accessibility & contrast

On white

8.42
#8E1F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F5A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F5A#FFFFFF#000000##FFFFFF
##8E1F5A1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405C
Deuteranopia (green-blind)
#545558
Tritanopia (blue-blind)
#99133A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1f5a;
/* rgb */ color: rgb(142, 31, 90);
/* oklch */ color: oklch(44.2% 0.155 353.2);
Tailwind
colors: {
  custom: {
    50: '#b36788',
    500: '#8e1f5a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f5a;
$custom-light: #b36788;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f5a",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 328.108,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.15529,
    "h": 353.2
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#8E1F5A
secondary
#4DBB81
accent
#E78F41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E1F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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