#8E1844#8E1844

#8E1844 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.154 H 5.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8E1844
RGBrgb(142, 24, 68)
HSLhsl(338, 71%, 33%)
HSVhsv(338, 83%, 56%)
CMYKcmyk(0%, 83.1%, 52.1%, 44.3%)
CIE-LABlab(31.40, 50.13, 5.09)
CIE-LCHlch(31.40, 50.39, 5.80°)
OKLaboklab(42.87% 0.1534 0.0134)
OKLCHoklch(42.87% 0.154 5)
XYZxyz(12.5265, 6.8232, 6.1251)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1844 #188E62
analogous
#8E187F #8E1844 #8E2718
triadic
#8E1844 #448E18 #18448E
tetradic
#8E1844 #7F8E18 #188E62 #27188E
square
#8E1844 #7F8E18 #188E62 #27188E
split-complementary
#8E1844 #188E27 #187F8E
monochromatic
#250612 #5A0F2B #8E1844 #C2215D #DF417C

Accessibility & contrast

On white

8.88
#8E1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1844
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1844#FFFFFF#000000##FFFFFF
##8E18441.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B45
Deuteranopia (green-blind)
#565241
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1844;
/* rgb */ color: rgb(142, 24, 68);
/* oklch */ color: oklch(42.9% 0.154 5.0);
Tailwind
colors: {
  custom: {
    50: '#b56377',
    500: '#8e1844',
    950: '#000000',
  },
}
SCSS
$custom: #8e1844;
$custom-light: #b56377;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1844",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 337.627,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42868,
    "c": 0.15402,
    "h": 5
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#8E1844
secondary
#42C091
accent
#EEAB3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1844

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

Preview Lab → · Contrast checker → · Palette generator →

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