#8E1B40#8E1B40

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

Color values

HEX#8E1B40
RGBrgb(142, 27, 64)
HSLhsl(341, 68%, 33%)
HSVhsv(341, 81%, 56%)
CMYKcmyk(0%, 81%, 54.9%, 44.3%)
CIE-LABlab(31.59, 48.95, 8.01)
CIE-LCHlch(31.59, 49.60, 9.29°)
OKLaboklab(42.97% 0.1491 0.0205)
OKLCHoklch(42.97% 0.151 7.8)
XYZxyz(12.4739, 6.9066, 5.5258)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B40 #1B8E69
analogous
#8E1B79 #8E1B40 #8E301B
triadic
#8E1B40 #408E1B #1B408E
tetradic
#8E1B40 #798E1B #1B8E69 #301B8E
square
#8E1B40 #798E1B #1B8E69 #301B8E
split-complementary
#8E1B40 #1B8E30 #1B798E
monochromatic
#270712 #5B1129 #8E1B40 #C12557 #DC4777

Accessibility & contrast

On white

8.82
#8E1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B40
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B40#FFFFFF#000000##FFFFFF
##8E1B401.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b40;
/* rgb */ color: rgb(142, 27, 64);
/* oklch */ color: oklch(43.0% 0.151 7.8);
Tailwind
colors: {
  custom: {
    50: '#b56474',
    500: '#8e1b40',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b40;
$custom-light: #b56474;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b40",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 340.696,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.15053,
    "h": 7.8
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#8E1B40
secondary
#47BE98
accent
#EBB33D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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