#8E1846#8E1846

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

Color values

HEX#8E1846
RGBrgb(142, 24, 70)
HSLhsl(337, 71%, 33%)
HSVhsv(337, 83%, 56%)
CMYKcmyk(0%, 83.1%, 50.7%, 44.3%)
CIE-LABlab(31.46, 50.31, 3.85)
CIE-LCHlch(31.46, 50.45, 4.38°)
OKLaboklab(42.93% 0.1542 0.0103)
OKLCHoklch(42.93% 0.155 3.8)
XYZxyz(12.5886, 6.8480, 6.4521)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1846 #188E60
analogous
#8E1881 #8E1846 #8E2518
triadic
#8E1846 #468E18 #18468E
tetradic
#8E1846 #818E18 #188E60 #25188E
square
#8E1846 #818E18 #188E60 #25188E
split-complementary
#8E1846 #188E25 #18818E
monochromatic
#250612 #5A0F2C #8E1846 #C22160 #DF417F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1846#FFFFFF#000000##FFFFFF
##8E18461.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)
#373B47
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1846;
/* rgb */ color: rgb(142, 24, 70);
/* oklch */ color: oklch(42.9% 0.155 3.8);
Tailwind
colors: {
  custom: {
    50: '#b56379',
    500: '#8e1846',
    950: '#000000',
  },
}
SCSS
$custom: #8e1846;
$custom-light: #b56379;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1846",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 336.61,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.15454,
    "h": 3.8
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#8E1846
secondary
#42C08F
accent
#EEA83A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1846

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

Preview Lab → · Contrast checker → · Palette generator →

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