#8E1A58#8E1A58

#8E1A58 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 353.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8E1A58
RGBrgb(142, 26, 88)
HSLhsl(328, 69%, 33%)
HSVhsv(328, 82%, 56%)
CMYKcmyk(0%, 81.7%, 38%, 44.3%)
CIE-LABlab(32.25, 51.53, -6.81)
CIE-LCHlch(32.25, 51.98, 352.48°)
OKLaboklab(43.7% 0.1584 -0.0174)
OKLCHoklch(43.7% 0.159 353.7)
XYZxyz(13.2871, 7.1958, 9.9199)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A58 #1A8E50
analogous
#8A1A8E #8E1A58 #8E1A1E
triadic
#8E1A58 #588E1A #1A588E
tetradic
#8E1A58 #8E8A1A #1A8E50 #1A1E8E
square
#8E1A58 #8E8A1A #1A8E50 #1A1E8E
split-complementary
#8E1A58 #1E8E1A #1A8E8A
monochromatic
#270718 #5A1138 #8E1A58 #C22378 #DD4596

Accessibility & contrast

On white

8.61
#8E1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8E1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A58
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A58#FFFFFF#000000##FFFFFF
##8E1A581.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E5A
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#9A0937
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a58;
/* rgb */ color: rgb(142, 26, 88);
/* oklch */ color: oklch(43.7% 0.159 353.7);
Tailwind
colors: {
  custom: {
    50: '#b46587',
    500: '#8e1a58',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a58;
$custom-light: #b46587;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a58",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 327.931,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.15937,
    "h": 353.7
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#8E1A58
secondary
#45BE7E
accent
#EC8E3C
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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