#8E1F45#8E1F45

#8E1F45 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.148 H 5.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8E1F45
RGBrgb(142, 31, 69)
HSLhsl(339, 64%, 34%)
HSVhsv(339, 78%, 56%)
CMYKcmyk(0%, 78.2%, 51.4%, 44.3%)
CIE-LABlab(32.17, 48.11, 5.53)
CIE-LCHlch(32.17, 48.43, 6.56°)
OKLaboklab(43.45% 0.147 0.0145)
OKLCHoklch(43.45% 0.148 5.6)
XYZxyz(12.7206, 7.1622, 6.3417)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F45 #1F8E68
analogous
#8E1F7D #8E1F45 #8E301F
triadic
#8E1F45 #458E1F #1F458E
tetradic
#8E1F45 #7D8E1F #1F8E68 #301F8E
square
#8E1F45 #7D8E1F #1F8E68 #301F8E
split-complementary
#8E1F45 #1F8E30 #1F7D8E
monochromatic
#2A0914 #5C142D #8E1F45 #C02A5D #D94F7E

Accessibility & contrast

On white

8.63
#8E1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F45
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F45#FFFFFF#000000##FFFFFF
##8E1F451.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#585442
Tritanopia (blue-blind)
#9B012F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f45;
/* rgb */ color: rgb(142, 31, 69);
/* oklch */ color: oklch(43.4% 0.148 5.6);
Tailwind
colors: {
  custom: {
    50: '#b56678',
    500: '#8e1f45',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f45;
$custom-light: #b56678;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f45",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 339.459,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.14773,
    "h": 5.6
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#8E1F45
secondary
#4DBB96
accent
#E7AE41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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