#8E1843#8E1843

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

Color values

HEX#8E1843
RGBrgb(142, 24, 67)
HSLhsl(338, 71%, 33%)
HSVhsv(338, 83%, 56%)
CMYKcmyk(0%, 83.1%, 52.8%, 44.3%)
CIE-LABlab(31.37, 50.05, 5.71)
CIE-LCHlch(31.37, 50.38, 6.51°)
OKLaboklab(42.84% 0.1531 0.0149)
OKLCHoklch(42.84% 0.154 5.6)
XYZxyz(12.4962, 6.8111, 5.9658)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1843 #188E63
analogous
#8E187E #8E1843 #8E2818
triadic
#8E1843 #438E18 #18438E
tetradic
#8E1843 #7E8E18 #188E63 #28188E
square
#8E1843 #7E8E18 #188E63 #28188E
split-complementary
#8E1843 #188E28 #187E8E
monochromatic
#250612 #5A0F2A #8E1843 #C2215C #DF417B

Accessibility & contrast

On white

8.89
#8E1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1843
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1843#FFFFFF#000000##FFFFFF
##8E18431.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B44
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1843;
/* rgb */ color: rgb(142, 24, 67);
/* oklch */ color: oklch(42.8% 0.154 5.6);
Tailwind
colors: {
  custom: {
    50: '#b56376',
    500: '#8e1843',
    950: '#000000',
  },
}
SCSS
$custom: #8e1843;
$custom-light: #b56376;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1843",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 338.136,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.15379,
    "h": 5.6
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#8E1843
secondary
#42C092
accent
#EEAC3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1843

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

Preview Lab → · Contrast checker → · Palette generator →

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