#8E1F40#8E1F40

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

Color values

HEX#8E1F40
RGBrgb(142, 31, 64)
HSLhsl(342, 64%, 34%)
HSVhsv(342, 78%, 56%)
CMYKcmyk(0%, 78.2%, 54.9%, 44.3%)
CIE-LABlab(32.04, 47.69, 8.63)
CIE-LCHlch(32.04, 48.46, 10.26°)
OKLaboklab(43.3% 0.1451 0.022)
OKLCHoklch(43.3% 0.147 8.6)
XYZxyz(12.5719, 7.1027, 5.5585)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F40 #1F8E6D
analogous
#8E1F78 #8E1F40 #8E361F
triadic
#8E1F40 #408E1F #1F408E
tetradic
#8E1F40 #788E1F #1F8E6D #361F8E
square
#8E1F40 #788E1F #1F8E6D #361F8E
split-complementary
#8E1F40 #1F8E36 #1F788E
monochromatic
#2A0913 #5C1429 #8E1F40 #C02A57 #D94F78

Accessibility & contrast

On white

8.68
#8E1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F40
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F40#FFFFFF#000000##FFFFFF
##8E1F401.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#59533D
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1f40;
/* rgb */ color: rgb(142, 31, 64);
/* oklch */ color: oklch(43.3% 0.147 8.6);
Tailwind
colors: {
  custom: {
    50: '#b56674',
    500: '#8e1f40',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f40;
$custom-light: #b56674;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f40",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 342.162,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.14671,
    "h": 8.6
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#8E1F40
secondary
#4DBB9B
accent
#E7B641
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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