#8E1F44#8E1F44

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

Color values

HEX#8E1F44
RGBrgb(142, 31, 68)
HSLhsl(340, 64%, 34%)
HSVhsv(340, 78%, 56%)
CMYKcmyk(0%, 78.2%, 52.1%, 44.3%)
CIE-LABlab(32.15, 48.02, 6.15)
CIE-LCHlch(32.15, 48.42, 7.30°)
OKLaboklab(43.42% 0.1466 0.016)
OKLCHoklch(43.42% 0.148 6.2)
XYZxyz(12.6898, 7.1499, 6.1796)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F44 #1F8E69
analogous
#8E1F7C #8E1F44 #8E321F
triadic
#8E1F44 #448E1F #1F448E
tetradic
#8E1F44 #7C8E1F #1F8E69 #321F8E
square
#8E1F44 #7C8E1F #1F8E69 #321F8E
split-complementary
#8E1F44 #1F8E32 #1F7C8E
monochromatic
#2A0914 #5C142C #8E1F44 #C02A5C #D94F7D

Accessibility & contrast

On white

8.64
#8E1F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1F44
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F44#FFFFFF#000000##FFFFFF
##8E1F441.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E45
Deuteranopia (green-blind)
#585441
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f44;
/* rgb */ color: rgb(142, 31, 68);
/* oklch */ color: oklch(43.4% 0.147 6.2);
Tailwind
colors: {
  custom: {
    50: '#b56677',
    500: '#8e1f44',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f44;
$custom-light: #b56677;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f44",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 340,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.1475,
    "h": 6.2
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#8E1F44
secondary
#4DBB97
accent
#E7B041
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1F44

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

Preview Lab → · Contrast checker → · Palette generator →

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