#8E1A4C#8E1A4C

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

Color values

HEX#8E1A4C
RGBrgb(142, 26, 76)
HSLhsl(334, 69%, 33%)
HSVhsv(334, 82%, 56%)
CMYKcmyk(0%, 81.7%, 46.5%, 44.3%)
CIE-LABlab(31.84, 50.30, 0.44)
CIE-LCHlch(31.84, 50.30, 0.50°)
OKLaboklab(43.27% 0.1546 0.0017)
OKLCHoklch(43.27% 0.155 0.6)
XYZxyz(12.8303, 7.0131, 7.5141)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A4C #1A8E5C
analogous
#8E1A86 #8E1A4C #8E221A
triadic
#8E1A4C #4C8E1A #1A4C8E
tetradic
#8E1A4C #868E1A #1A8E5C #221A8E
square
#8E1A4C #868E1A #1A8E5C #221A8E
split-complementary
#8E1A4C #1A8E22 #1A868E
monochromatic
#270715 #5A1130 #8E1A4C #C22368 #DD4587

Accessibility & contrast

On white

8.74
#8E1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A4C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A4C#FFFFFF#000000##FFFFFF
##8E1A4C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4D
Deuteranopia (green-blind)
#555349
Tritanopia (blue-blind)
#9B0031
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a4c;
/* rgb */ color: rgb(142, 26, 76);
/* oklch */ color: oklch(43.3% 0.155 0.6);
Tailwind
colors: {
  custom: {
    50: '#b4647d',
    500: '#8e1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a4c;
$custom-light: #b4647d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a4c",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 334.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.15458,
    "h": 0.6
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#8E1A4C
secondary
#45BE8A
accent
#ECA03C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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