#8E1943#8E1943

#8E1943 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.153 H 5.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8E1943
RGBrgb(142, 25, 67)
HSLhsl(338, 70%, 33%)
HSVhsv(338, 82%, 56%)
CMYKcmyk(0%, 82.4%, 52.8%, 44.3%)
CIE-LABlab(31.47, 49.77, 5.85)
CIE-LCHlch(31.47, 50.12, 6.71°)
OKLaboklab(42.91% 0.1522 0.0153)
OKLCHoklch(42.91% 0.153 5.7)
XYZxyz(12.5172, 6.8531, 5.9728)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1943 #198E64
analogous
#8E197D #8E1943 #8E2A19
triadic
#8E1943 #438E19 #19438E
tetradic
#8E1943 #7D8E19 #198E64 #2A198E
square
#8E1943 #7D8E19 #198E64 #2A198E
split-complementary
#8E1943 #198E2A #197D8E
monochromatic
#260712 #5A102A #8E1943 #C2225C #DE437B

Accessibility & contrast

On white

8.86
#8E1943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1943
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1943#FFFFFF#000000##FFFFFF
##8E19431.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1943;
/* rgb */ color: rgb(142, 25, 67);
/* oklch */ color: oklch(42.9% 0.153 5.7);
Tailwind
colors: {
  custom: {
    50: '#b56476',
    500: '#8e1943',
    950: '#000000',
  },
}
SCSS
$custom: #8e1943;
$custom-light: #b56476;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1943",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 67
  },
  "hsl": {
    "h": 338.462,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.15293,
    "h": 5.7
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#8E1943
secondary
#44BF93
accent
#EDAD3B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1943

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

Preview Lab → · Contrast checker → · Palette generator →

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