#8E1F41#8E1F41

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

Color values

HEX#8E1F41
RGBrgb(142, 31, 65)
HSLhsl(342, 64%, 34%)
HSVhsv(342, 78%, 56%)
CMYKcmyk(0%, 78.2%, 54.2%, 44.3%)
CIE-LABlab(32.07, 47.77, 8.01)
CIE-LCHlch(32.07, 48.44, 9.52°)
OKLaboklab(43.33% 0.1455 0.0206)
OKLCHoklch(43.33% 0.147 8)
XYZxyz(12.6006, 7.1142, 5.7097)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F41 #1F8E6C
analogous
#8E1F79 #8E1F41 #8E351F
triadic
#8E1F41 #418E1F #1F418E
tetradic
#8E1F41 #798E1F #1F8E6C #351F8E
square
#8E1F41 #798E1F #1F8E6C #351F8E
split-complementary
#8E1F41 #1F8E35 #1F798E
monochromatic
#2A0913 #5C142A #8E1F41 #C02A58 #D94F79

Accessibility & contrast

On white

8.67
#8E1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F41
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F41#FFFFFF#000000##FFFFFF
##8E1F411.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D42
Deuteranopia (green-blind)
#59533E
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1f41;
/* rgb */ color: rgb(142, 31, 65);
/* oklch */ color: oklch(43.3% 0.147 8.0);
Tailwind
colors: {
  custom: {
    50: '#b56675',
    500: '#8e1f41',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f41;
$custom-light: #b56675;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f41",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 341.622,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.14689,
    "h": 8
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#8E1F41
secondary
#4DBB9A
accent
#E7B441
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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