#8E1C46#8E1C46

#8E1C46 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.151 H 4.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8E1C46
RGBrgb(142, 28, 70)
HSLhsl(338, 67%, 33%)
HSVhsv(338, 80%, 56%)
CMYKcmyk(0%, 80.3%, 50.7%, 44.3%)
CIE-LABlab(31.86, 49.15, 4.43)
CIE-LCHlch(31.86, 49.35, 5.15°)
OKLaboklab(43.23% 0.1505 0.0118)
OKLCHoklch(43.23% 0.151 4.5)
XYZxyz(12.6772, 7.0253, 6.4816)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C46 #1C8E64
analogous
#8E1C7F #8E1C46 #8E2B1C
triadic
#8E1C46 #468E1C #1C468E
tetradic
#8E1C46 #7F8E1C #1C8E64 #2B1C8E
square
#8E1C46 #7F8E1C #1C8E64 #2B1C8E
split-complementary
#8E1C46 #1C8E2B #1C7F8E
monochromatic
#280814 #5B122D #8E1C46 #C1265F #DB497F

Accessibility & contrast

On white

8.73
#8E1C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1C46
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C46#FFFFFF#000000##FFFFFF
##8E1C461.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D47
Deuteranopia (green-blind)
#575343
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c46;
/* rgb */ color: rgb(142, 28, 70);
/* oklch */ color: oklch(43.2% 0.151 4.5);
Tailwind
colors: {
  custom: {
    50: '#b56579',
    500: '#8e1c46',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c46;
$custom-light: #b56579;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c46",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 337.895,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.15093,
    "h": 4.5
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#8E1C46
secondary
#49BD92
accent
#EAAB3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1C46

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

Preview Lab → · Contrast checker → · Palette generator →

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