#8E1F5B#8E1F5B

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

Color values

HEX#8E1F5B
RGBrgb(142, 31, 91)
HSLhsl(328, 64%, 34%)
HSVhsv(328, 78%, 56%)
CMYKcmyk(0%, 78.2%, 35.9%, 44.3%)
CIE-LABlab(32.89, 50.36, -7.79)
CIE-LCHlch(32.89, 50.95, 351.21°)
OKLaboklab(44.21% 0.1545 -0.02)
OKLCHoklch(44.21% 0.156 352.6)
XYZxyz(13.5345, 7.4877, 10.6280)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F5B #1F8E52
analogous
#8A1F8E #8E1F5B #8E1F23
triadic
#8E1F5B #5B8E1F #1F5B8E
tetradic
#8E1F5B #8E8A1F #1F8E52 #1F238E
square
#8E1F5B #8E8A1F #1F8E52 #1F238E
split-complementary
#8E1F5B #238E1F #1F8E8A
monochromatic
#2A091B #5C143B #8E1F5B #C02A7B #D94F99

Accessibility & contrast

On white

8.41
#8E1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F5B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F5B#FFFFFF#000000##FFFFFF
##8E1F5B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#535559
Tritanopia (blue-blind)
#99143A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1f5b;
/* rgb */ color: rgb(142, 31, 91);
/* oklch */ color: oklch(44.2% 0.156 352.6);
Tailwind
colors: {
  custom: {
    50: '#b36789',
    500: '#8e1f5b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f5b;
$custom-light: #b36789;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f5b",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 327.568,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.15576,
    "h": 352.6
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#8E1F5B
secondary
#4DBB80
accent
#E78D41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E1F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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