#8E1D3F#8E1D3F

#8E1D3F is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.148 H 8.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8E1D3F
RGBrgb(142, 29, 63)
HSLhsl(342, 66%, 34%)
HSVhsv(342, 80%, 56%)
CMYKcmyk(0%, 79.6%, 55.6%, 44.3%)
CIE-LABlab(31.78, 48.25, 8.94)
CIE-LCHlch(31.78, 49.08, 10.49°)
OKLaboklab(43.11% 0.1467 0.0228)
OKLCHoklch(43.11% 0.148 8.8)
XYZxyz(12.4931, 6.9902, 5.3931)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D3F #1D8E6C
analogous
#8E1D77 #8E1D3F #8E331D
triadic
#8E1D3F #3F8E1D #1D3F8E
tetradic
#8E1D3F #778E1D #1D8E6C #331D8E
square
#8E1D3F #778E1D #1D8E6C #331D8E
split-complementary
#8E1D3F #1D8E33 #1D778E
monochromatic
#280812 #5B1328 #8E1D3F #C12756 #DA4B76

Accessibility & contrast

On white

8.76
#8E1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D3F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D3F#FFFFFF#000000##FFFFFF
##8E1D3F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C40
Deuteranopia (green-blind)
#58533C
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1d3f;
/* rgb */ color: rgb(142, 29, 63);
/* oklch */ color: oklch(43.1% 0.148 8.8);
Tailwind
colors: {
  custom: {
    50: '#b56573',
    500: '#8e1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d3f;
$custom-light: #b56573;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d3f",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 341.947,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.14849,
    "h": 8.8
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#8E1D3F
secondary
#4ABD9A
accent
#E9B63F
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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