#8E1548#8E1548

#8E1548 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.158 H 2.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8E1548
RGBrgb(142, 21, 72)
HSLhsl(335, 74%, 32%)
HSVhsv(335, 85%, 56%)
CMYKcmyk(0%, 85.2%, 49.3%, 44.3%)
CIE-LABlab(31.25, 51.26, 2.22)
CIE-LCHlch(31.25, 51.31, 2.48°)
OKLaboklab(42.79% 0.1574 0.0062)
OKLCHoklch(42.79% 0.158 2.3)
XYZxyz(12.5943, 6.7568, 6.7706)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1548 #158E5B
analogous
#8E1585 #8E1548 #8E1F15
triadic
#8E1548 #488E15 #15488E
tetradic
#8E1548 #858E15 #158E5B #1F158E
square
#8E1548 #858E15 #158E5B #1F158E
split-complementary
#8E1548 #158E1F #15858E
monochromatic
#230512 #590D2D #8E1548 #C31D63 #E23B82

Accessibility & contrast

On white

8.93
#8E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1548
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1548#FFFFFF#000000##FFFFFF
##8E15481.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1548;
/* rgb */ color: rgb(142, 21, 72);
/* oklch */ color: oklch(42.8% 0.158 2.3);
Tailwind
colors: {
  custom: {
    50: '#b5627a',
    500: '#8e1548',
    950: '#000000',
  },
}
SCSS
$custom: #8e1548;
$custom-light: #b5627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1548",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 334.711,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.15756,
    "h": 2.3
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#8E1548
secondary
#3DC28A
accent
#F1A237
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1548

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

Preview Lab → · Contrast checker → · Palette generator →

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