#8E1648#8E1648

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

Color values

HEX#8E1648
RGBrgb(142, 22, 72)
HSLhsl(335, 73%, 32%)
HSVhsv(335, 85%, 56%)
CMYKcmyk(0%, 84.5%, 49.3%, 44.3%)
CIE-LABlab(31.33, 51.01, 2.35)
CIE-LCHlch(31.33, 51.06, 2.64°)
OKLaboklab(42.86% 0.1566 0.0066)
OKLCHoklch(42.86% 0.157 2.4)
XYZxyz(12.6130, 6.7943, 6.7769)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1648 #168E5C
analogous
#8E1684 #8E1648 #8E2016
triadic
#8E1648 #488E16 #16488E
tetradic
#8E1648 #848E16 #168E5C #20168E
square
#8E1648 #848E16 #168E5C #20168E
split-complementary
#8E1648 #168E20 #16848E
monochromatic
#240612 #590E2D #8E1648 #C31E63 #E13D82

Accessibility & contrast

On white

8.90
#8E1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1648
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1648#FFFFFF#000000##FFFFFF
##8E16481.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1648;
/* rgb */ color: rgb(142, 22, 72);
/* oklch */ color: oklch(42.9% 0.157 2.4);
Tailwind
colors: {
  custom: {
    50: '#b5637a',
    500: '#8e1648',
    950: '#000000',
  },
}
SCSS
$custom: #8e1648;
$custom-light: #b5637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1648",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 335,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.15677,
    "h": 2.4
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#8E1648
secondary
#3FC18B
accent
#F0A338
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1648

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

Preview Lab → · Contrast checker → · Palette generator →

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