#8E1F5C#8E1F5C

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

Color values

HEX#8E1F5C
RGBrgb(142, 31, 92)
HSLhsl(327, 64%, 34%)
HSVhsv(327, 78%, 56%)
CMYKcmyk(0%, 78.2%, 35.2%, 44.3%)
CIE-LABlab(32.93, 50.47, -8.38)
CIE-LCHlch(32.93, 51.16, 350.57°)
OKLaboklab(44.25% 0.1548 -0.0216)
OKLCHoklch(44.25% 0.156 352)
XYZxyz(13.5779, 7.5051, 10.8567)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F5C #1F8E51
analogous
#891F8E #8E1F5C #8E1F25
triadic
#8E1F5C #5C8E1F #1F5C8E
tetradic
#8E1F5C #8E891F #1F8E51 #1F258E
square
#8E1F5C #8E891F #1F8E51 #1F258E
split-complementary
#8E1F5C #258E1F #1F8E89
monochromatic
#2A091B #5C143B #8E1F5C #C02A7D #D94F9B

Accessibility & contrast

On white

8.40
#8E1F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F5C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F5C#FFFFFF#000000##FFFFFF
##8E1F5C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415E
Deuteranopia (green-blind)
#53555A
Tritanopia (blue-blind)
#99153B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1f5c;
/* rgb */ color: rgb(142, 31, 92);
/* oklch */ color: oklch(44.2% 0.156 352.0);
Tailwind
colors: {
  custom: {
    50: '#b3678a',
    500: '#8e1f5c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f5c;
$custom-light: #b3678a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f5c",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 327.027,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.15625,
    "h": 352
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#8E1F5C
secondary
#4DBB7F
accent
#E78C41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E1F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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