#8E1447#8E1447

#8E1447 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.158 H 2.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8E1447
RGBrgb(142, 20, 71)
HSLhsl(335, 75%, 32%)
HSVhsv(335, 86%, 56%)
CMYKcmyk(0%, 85.9%, 50%, 44.3%)
CIE-LABlab(31.13, 51.41, 2.72)
CIE-LCHlch(31.13, 51.48, 3.03°)
OKLaboklab(42.7% 0.1579 0.0075)
OKLCHoklch(42.7% 0.158 2.7)
XYZxyz(12.5439, 6.7078, 6.5942)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1447 #148E5B
analogous
#8E1484 #8E1447 #8E1E14
triadic
#8E1447 #478E14 #14478E
tetradic
#8E1447 #848E14 #148E5B #1E148E
square
#8E1447 #848E14 #148E5B #1E148E
split-complementary
#8E1447 #148E1E #14848E
monochromatic
#230511 #580C2C #8E1447 #C41C62 #E33980

Accessibility & contrast

On white

8.97
#8E1447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1447
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1447#FFFFFF#000000##FFFFFF
##8E14471.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1447;
/* rgb */ color: rgb(142, 20, 71);
/* oklch */ color: oklch(42.7% 0.158 2.7);
Tailwind
colors: {
  custom: {
    50: '#b5627a',
    500: '#8e1447',
    950: '#000000',
  },
}
SCSS
$custom: #8e1447;
$custom-light: #b5627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1447",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 71
  },
  "hsl": {
    "h": 334.918,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.427,
    "c": 0.15804,
    "h": 2.7
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#8E1447
secondary
#3CC28A
accent
#F2A336
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1447

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

Preview Lab → · Contrast checker → · Palette generator →

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