#8E1A4E#8E1A4E

#8E1A4E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.155 H 359.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8E1A4E
RGBrgb(142, 26, 78)
HSLhsl(333, 69%, 33%)
HSVhsv(333, 82%, 56%)
CMYKcmyk(0%, 81.7%, 45.1%, 44.3%)
CIE-LABlab(31.90, 50.49, -0.78)
CIE-LCHlch(31.90, 50.50, 359.12°)
OKLaboklab(43.33% 0.1553 -0.0015)
OKLCHoklch(43.33% 0.155 359.5)
XYZxyz(12.9009, 7.0414, 7.8860)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A4E #1A8E5A
analogous
#8E1A88 #8E1A4E #8E201A
triadic
#8E1A4E #4E8E1A #1A4E8E
tetradic
#8E1A4E #888E1A #1A8E5A #201A8E
square
#8E1A4E #888E1A #1A8E5A #201A8E
split-complementary
#8E1A4E #1A8E20 #1A888E
monochromatic
#270715 #5A1132 #8E1A4E #C2236A #DD4589

Accessibility & contrast

On white

8.72
#8E1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A4E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A4E#FFFFFF#000000##FFFFFF
##8E1A4E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4F
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#9A0032
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a4e;
/* rgb */ color: rgb(142, 26, 78);
/* oklch */ color: oklch(43.3% 0.155 359.5);
Tailwind
colors: {
  custom: {
    50: '#b4647f',
    500: '#8e1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a4e;
$custom-light: #b4647f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a4e",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 333.103,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.15527,
    "h": 359.5
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#8E1A4E
secondary
#45BE88
accent
#EC9D3C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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