#8E1D43#8E1D43

#8E1D43 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.149 H 6.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8E1D43
RGBrgb(142, 29, 67)
HSLhsl(340, 66%, 34%)
HSVhsv(340, 80%, 56%)
CMYKcmyk(0%, 79.6%, 52.8%, 44.3%)
CIE-LABlab(31.89, 48.58, 6.45)
CIE-LCHlch(31.89, 49.01, 7.56°)
OKLaboklab(43.22% 0.1483 0.0167)
OKLCHoklch(43.22% 0.149 6.4)
XYZxyz(12.6090, 7.0365, 6.0033)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D43 #1D8E68
analogous
#8E1D7B #8E1D43 #8E2F1D
triadic
#8E1D43 #438E1D #1D438E
tetradic
#8E1D43 #7B8E1D #1D8E68 #2F1D8E
square
#8E1D43 #7B8E1D #1D8E68 #2F1D8E
split-complementary
#8E1D43 #1D8E2F #1D7B8E
monochromatic
#280813 #5B132B #8E1D43 #C1275B #DA4B7B

Accessibility & contrast

On white

8.72
#8E1D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D43
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D43#FFFFFF#000000##FFFFFF
##8E1D431.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D44
Deuteranopia (green-blind)
#585340
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1d43;
/* rgb */ color: rgb(142, 29, 67);
/* oklch */ color: oklch(43.2% 0.149 6.4);
Tailwind
colors: {
  custom: {
    50: '#b56576',
    500: '#8e1d43',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d43;
$custom-light: #b56576;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d43",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 339.823,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.14926,
    "h": 6.4
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#8E1D43
secondary
#4ABD96
accent
#E9B03F
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1D43

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

Preview Lab → · Contrast checker → · Palette generator →

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