#8E1B41#8E1B41

#8E1B41 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.151 H 7.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8E1B41
RGBrgb(142, 27, 65)
HSLhsl(340, 68%, 33%)
HSVhsv(340, 81%, 56%)
CMYKcmyk(0%, 81%, 54.2%, 44.3%)
CIE-LABlab(31.62, 49.03, 7.39)
CIE-LCHlch(31.62, 49.58, 8.57°)
OKLaboklab(43% 0.1495 0.019)
OKLCHoklch(43% 0.151 7.2)
XYZxyz(12.5026, 6.9181, 5.6770)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B41 #1B8E68
analogous
#8E1B7A #8E1B41 #8E2E1B
triadic
#8E1B41 #418E1B #1B418E
tetradic
#8E1B41 #7A8E1B #1B8E68 #2E1B8E
square
#8E1B41 #7A8E1B #1B8E68 #2E1B8E
split-complementary
#8E1B41 #1B8E2E #1B7A8E
monochromatic
#270712 #5B1129 #8E1B41 #C12559 #DC4778

Accessibility & contrast

On white

8.81
#8E1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E1B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B41
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B41#FFFFFF#000000##FFFFFF
##8E1B411.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#58533E
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b41;
/* rgb */ color: rgb(142, 27, 65);
/* oklch */ color: oklch(43.0% 0.151 7.2);
Tailwind
colors: {
  custom: {
    50: '#b56475',
    500: '#8e1b41',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b41;
$custom-light: #b56475;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b41",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 340.174,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.15072,
    "h": 7.2
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#8E1B41
secondary
#47BE97
accent
#EBB13D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1B41

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

Preview Lab → · Contrast checker → · Palette generator →

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