#8E1845#8E1845

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

Color values

HEX#8E1845
RGBrgb(142, 24, 69)
HSLhsl(337, 71%, 33%)
HSVhsv(337, 83%, 56%)
CMYKcmyk(0%, 83.1%, 51.4%, 44.3%)
CIE-LABlab(31.43, 50.22, 4.47)
CIE-LCHlch(31.43, 50.42, 5.09°)
OKLaboklab(42.9% 0.1538 0.0119)
OKLCHoklch(42.9% 0.154 4.4)
XYZxyz(12.5573, 6.8355, 6.2872)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1845 #188E61
analogous
#8E1880 #8E1845 #8E2618
triadic
#8E1845 #458E18 #18458E
tetradic
#8E1845 #808E18 #188E61 #26188E
square
#8E1845 #808E18 #188E61 #26188E
split-complementary
#8E1845 #188E26 #18808E
monochromatic
#250612 #5A0F2C #8E1845 #C2215E #DF417E

Accessibility & contrast

On white

8.87
#8E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1845
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1845#FFFFFF#000000##FFFFFF
##8E18451.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1845;
/* rgb */ color: rgb(142, 24, 69);
/* oklch */ color: oklch(42.9% 0.154 4.4);
Tailwind
colors: {
  custom: {
    50: '#b56378',
    500: '#8e1845',
    950: '#000000',
  },
}
SCSS
$custom: #8e1845;
$custom-light: #b56378;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1845",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 337.119,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.15428,
    "h": 4.4
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#8E1845
secondary
#42C090
accent
#EEA93A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1845

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

Preview Lab → · Contrast checker → · Palette generator →

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