#8E1F58#8E1F58

#8E1F58 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.154 H 354.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8E1F58
RGBrgb(142, 31, 88)
HSLhsl(329, 64%, 34%)
HSVhsv(329, 78%, 56%)
CMYKcmyk(0%, 78.2%, 38%, 44.3%)
CIE-LABlab(32.78, 50.01, -6.01)
CIE-LCHlch(32.78, 50.37, 353.15°)
OKLaboklab(44.09% 0.1536 -0.0152)
OKLCHoklch(44.09% 0.154 354.3)
XYZxyz(13.4076, 7.4370, 9.9601)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F58 #1F8E55
analogous
#8D1F8E #8E1F58 #8E1F21
triadic
#8E1F58 #588E1F #1F588E
tetradic
#8E1F58 #8E8D1F #1F8E55 #1F218E
square
#8E1F58 #8E8D1F #1F8E55 #1F218E
split-complementary
#8E1F58 #218E1F #1F8E8D
monochromatic
#2A091A #5C1439 #8E1F58 #C02A77 #D94F96

Accessibility & contrast

On white

8.44
#8E1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F58
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F58#FFFFFF#000000##FFFFFF
##8E1F581.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354059
Deuteranopia (green-blind)
#545455
Tritanopia (blue-blind)
#9A1239
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1f58;
/* rgb */ color: rgb(142, 31, 88);
/* oklch */ color: oklch(44.1% 0.154 354.3);
Tailwind
colors: {
  custom: {
    50: '#b46787',
    500: '#8e1f58',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f58;
$custom-light: #b46787;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f58",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 329.189,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44091,
    "c": 0.15435,
    "h": 354.3
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#8E1F58
secondary
#4DBB83
accent
#E79241
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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