#8E1D45#8E1D45

#8E1D45 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.150 H 5.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8E1D45
RGBrgb(142, 29, 69)
HSLhsl(339, 66%, 34%)
HSVhsv(339, 80%, 56%)
CMYKcmyk(0%, 79.6%, 51.4%, 44.3%)
CIE-LABlab(31.95, 48.76, 5.21)
CIE-LCHlch(31.95, 49.03, 6.10°)
OKLaboklab(43.28% 0.1491 0.0137)
OKLCHoklch(43.28% 0.15 5.3)
XYZxyz(12.6700, 7.0609, 6.3248)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D45 #1D8E66
analogous
#8E1D7D #8E1D45 #8E2D1D
triadic
#8E1D45 #458E1D #1D458E
tetradic
#8E1D45 #7D8E1D #1D8E66 #2D1D8E
square
#8E1D45 #7D8E1D #1D8E66 #2D1D8E
split-complementary
#8E1D45 #1D8E2D #1D7D8E
monochromatic
#280814 #5B132C #8E1D45 #C1275E #DA4B7E

Accessibility & contrast

On white

8.71
#8E1D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D45
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D45#FFFFFF#000000##FFFFFF
##8E1D451.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1d45;
/* rgb */ color: rgb(142, 29, 69);
/* oklch */ color: oklch(43.3% 0.150 5.3);
Tailwind
colors: {
  custom: {
    50: '#b56578',
    500: '#8e1d45',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d45;
$custom-light: #b56578;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d45",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 69
  },
  "hsl": {
    "h": 338.761,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.14972,
    "h": 5.3
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#8E1D45
secondary
#4ABD94
accent
#E9AD3F
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1D45

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

Preview Lab → · Contrast checker → · Palette generator →

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