#8E1452#8E1452

#8E1452 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.162 H 356.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1452
RGBrgb(142, 20, 82)
HSLhsl(330, 75%, 32%)
HSVhsv(330, 86%, 56%)
CMYKcmyk(0%, 85.9%, 42.3%, 44.3%)
CIE-LABlab(31.49, 52.45, -4.01)
CIE-LCHlch(31.49, 52.60, 355.63°)
OKLaboklab(43.08% 0.1616 -0.0099)
OKLCHoklch(43.08% 0.162 356.5)
XYZxyz(12.9295, 6.8620, 8.6247)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1452 #148E50
analogous
#8D148E #8E1452 #8E1415
triadic
#8E1452 #528E14 #14528E
tetradic
#8E1452 #8E8D14 #148E50 #14158E
square
#8E1452 #8E8D14 #148E50 #14158E
split-complementary
#8E1452 #158E14 #148E8D
monochromatic
#230514 #580C33 #8E1452 #C41C71 #E33990

Accessibility & contrast

On white

8.85
#8E1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1452
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1452#FFFFFF#000000##FFFFFF
##8E14521.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#9A0032
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1452;
/* rgb */ color: rgb(142, 20, 82);
/* oklch */ color: oklch(43.1% 0.162 356.5);
Tailwind
colors: {
  custom: {
    50: '#b46382',
    500: '#8e1452',
    950: '#000000',
  },
}
SCSS
$custom: #8e1452;
$custom-light: #b46382;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1452",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 329.508,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.16188,
    "h": 356.5
  },
  "luminance": 0.0686
}

Semantic roles & 50–950 ramp

primary
#8E1452
secondary
#3CC27E
accent
#F29236
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1452

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

Preview Lab → · Contrast checker → · Palette generator →

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