#8E1F5E#8E1F5E

#8E1F5E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.157 H 350.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8E1F5E
RGBrgb(142, 31, 94)
HSLhsl(326, 64%, 34%)
HSVhsv(326, 78%, 56%)
CMYKcmyk(0%, 78.2%, 33.8%, 44.3%)
CIE-LABlab(33.01, 50.71, -9.56)
CIE-LCHlch(33.01, 51.60, 349.33°)
OKLaboklab(44.33% 0.1553 -0.0248)
OKLCHoklch(44.33% 0.157 350.9)
XYZxyz(13.6665, 7.5405, 11.3233)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F5E #1F8E4F
analogous
#871F8E #8E1F5E #8E1F27
triadic
#8E1F5E #5E8E1F #1F5E8E
tetradic
#8E1F5E #8E871F #1F8E4F #1F278E
square
#8E1F5E #8E871F #1F8E4F #1F278E
split-complementary
#8E1F5E #278E1F #1F8E87
monochromatic
#2A091B #5C143D #8E1F5E #C02A7F #D94F9D

Accessibility & contrast

On white

8.37
#8E1F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F5E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F5E#FFFFFF#000000##FFFFFF
##8E1F5E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#53555C
Tritanopia (blue-blind)
#99163C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1f5e;
/* rgb */ color: rgb(142, 31, 94);
/* oklch */ color: oklch(44.3% 0.157 350.9);
Tailwind
colors: {
  custom: {
    50: '#b3678b',
    500: '#8e1f5e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f5e;
$custom-light: #b3678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f5e",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 325.946,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44329,
    "c": 0.15727,
    "h": 350.9
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#8E1F5E
secondary
#4DBB7D
accent
#E78941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E1F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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