#8E1F5D#8E1F5D

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

Color values

HEX#8E1F5D
RGBrgb(142, 31, 93)
HSLhsl(326, 64%, 34%)
HSVhsv(326, 78%, 56%)
CMYKcmyk(0%, 78.2%, 34.5%, 44.3%)
CIE-LABlab(32.97, 50.59, -8.97)
CIE-LCHlch(32.97, 51.38, 349.95°)
OKLaboklab(44.29% 0.155 -0.0232)
OKLCHoklch(44.29% 0.157 351.5)
XYZxyz(13.6219, 7.5227, 11.0885)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F5D #1F8E50
analogous
#881F8E #8E1F5D #8E1F26
triadic
#8E1F5D #5D8E1F #1F5D8E
tetradic
#8E1F5D #8E881F #1F8E50 #1F268E
square
#8E1F5D #8E881F #1F8E50 #1F268E
split-complementary
#8E1F5D #268E1F #1F8E88
monochromatic
#2A091B #5C143C #8E1F5D #C02A7E #D94F9C

Accessibility & contrast

On white

8.39
#8E1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F5D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F5D#FFFFFF#000000##FFFFFF
##8E1F5D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#53555B
Tritanopia (blue-blind)
#99153B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1f5d;
/* rgb */ color: rgb(142, 31, 93);
/* oklch */ color: oklch(44.3% 0.157 351.5);
Tailwind
colors: {
  custom: {
    50: '#b3678a',
    500: '#8e1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f5d;
$custom-light: #b3678a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f5d",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 326.486,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.15676,
    "h": 351.5
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#8E1F5D
secondary
#4DBB7E
accent
#E78A41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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