#8E1C40#8E1C40

#8E1C40 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 8.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8E1C40
RGBrgb(142, 28, 64)
HSLhsl(341, 67%, 33%)
HSVhsv(341, 80%, 56%)
CMYKcmyk(0%, 80.3%, 54.9%, 44.3%)
CIE-LABlab(31.70, 48.65, 8.16)
CIE-LCHlch(31.70, 49.33, 9.52°)
OKLaboklab(43.05% 0.1481 0.0209)
OKLCHoklch(43.05% 0.15 8)
XYZxyz(12.4972, 6.9532, 5.5335)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C40 #1C8E6A
analogous
#8E1C79 #8E1C40 #8E311C
triadic
#8E1C40 #408E1C #1C408E
tetradic
#8E1C40 #798E1C #1C8E6A #311C8E
square
#8E1C40 #798E1C #1C8E6A #311C8E
split-complementary
#8E1C40 #1C8E31 #1C798E
monochromatic
#280812 #5B1229 #8E1C40 #C12657 #DB4977

Accessibility & contrast

On white

8.79
#8E1C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C40
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C40#FFFFFF#000000##FFFFFF
##8E1C401.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1c40;
/* rgb */ color: rgb(142, 28, 64);
/* oklch */ color: oklch(43.1% 0.150 8.0);
Tailwind
colors: {
  custom: {
    50: '#b56574',
    500: '#8e1c40',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c40;
$custom-light: #b56574;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c40",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 341.053,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43053,
    "c": 0.1496,
    "h": 8
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#8E1C40
secondary
#49BD98
accent
#EAB43E
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1C40

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

Preview Lab → · Contrast checker → · Palette generator →

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