#8E1848#8E1848

#8E1848 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 2.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8E1848
RGBrgb(142, 24, 72)
HSLhsl(336, 71%, 33%)
HSVhsv(336, 83%, 56%)
CMYKcmyk(0%, 83.1%, 49.3%, 44.3%)
CIE-LABlab(31.52, 50.48, 2.62)
CIE-LCHlch(31.52, 50.55, 2.97°)
OKLaboklab(42.99% 0.1549 0.0072)
OKLCHoklch(42.99% 0.155 2.7)
XYZxyz(12.6528, 6.8737, 6.7901)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1848 #188E5E
analogous
#8E1883 #8E1848 #8E2318
triadic
#8E1848 #488E18 #18488E
tetradic
#8E1848 #838E18 #188E5E #23188E
square
#8E1848 #838E18 #188E5E #23188E
split-complementary
#8E1848 #188E23 #18838E
monochromatic
#250613 #5A0F2D #8E1848 #C22163 #DF4182

Accessibility & contrast

On white

8.84
#8E1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1848
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1848#FFFFFF#000000##FFFFFF
##8E18481.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1848;
/* rgb */ color: rgb(142, 24, 72);
/* oklch */ color: oklch(43.0% 0.155 2.7);
Tailwind
colors: {
  custom: {
    50: '#b5637a',
    500: '#8e1848',
    950: '#000000',
  },
}
SCSS
$custom: #8e1848;
$custom-light: #b5637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1848",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 335.593,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.15511,
    "h": 2.7
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#8E1848
secondary
#42C08D
accent
#EEA53A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1848

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

Preview Lab → · Contrast checker → · Palette generator →

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