#8E1547#8E1547

#8E1547 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.157 H 2.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8E1547
RGBrgb(142, 21, 71)
HSLhsl(335, 74%, 32%)
HSVhsv(335, 85%, 56%)
CMYKcmyk(0%, 85.2%, 50%, 44.3%)
CIE-LABlab(31.22, 51.17, 2.84)
CIE-LCHlch(31.22, 51.25, 3.18°)
OKLaboklab(42.76% 0.1571 0.0078)
OKLCHoklch(42.76% 0.157 2.8)
XYZxyz(12.5619, 6.7438, 6.6002)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1547 #158E5C
analogous
#8E1584 #8E1547 #8E2015
triadic
#8E1547 #478E15 #15478E
tetradic
#8E1547 #848E15 #158E5C #20158E
square
#8E1547 #848E15 #158E5C #20158E
split-complementary
#8E1547 #158E20 #15848E
monochromatic
#230512 #590D2C #8E1547 #C31D62 #E23B80

Accessibility & contrast

On white

8.94
#8E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1547
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1547#FFFFFF#000000##FFFFFF
##8E15471.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1547;
/* rgb */ color: rgb(142, 21, 71);
/* oklch */ color: oklch(42.8% 0.157 2.8);
Tailwind
colors: {
  custom: {
    50: '#b5627a',
    500: '#8e1547',
    950: '#000000',
  },
}
SCSS
$custom: #8e1547;
$custom-light: #b5627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1547",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 335.207,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.15727,
    "h": 2.8
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#8E1547
secondary
#3DC28B
accent
#F1A437
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1547

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

Preview Lab → · Contrast checker → · Palette generator →

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