#8E1A4F#8E1A4F

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

Color values

HEX#8E1A4F
RGBrgb(142, 26, 79)
HSLhsl(333, 69%, 33%)
HSVhsv(333, 82%, 56%)
CMYKcmyk(0%, 81.7%, 44.4%, 44.3%)
CIE-LABlab(31.93, 50.59, -1.39)
CIE-LCHlch(31.93, 50.61, 358.43°)
OKLaboklab(43.37% 0.1556 -0.003)
OKLCHoklch(43.37% 0.156 358.9)
XYZxyz(12.9370, 7.0558, 8.0763)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A4F #1A8E59
analogous
#8E1A89 #8E1A4F #8E1F1A
triadic
#8E1A4F #4F8E1A #1A4F8E
tetradic
#8E1A4F #898E1A #1A8E59 #1F1A8E
square
#8E1A4F #898E1A #1A8E59 #1F1A8E
split-complementary
#8E1A4F #1A8E1F #1A898E
monochromatic
#270715 #5A1132 #8E1A4F #C2236C #DD458B

Accessibility & contrast

On white

8.71
#8E1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A4F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A4F#FFFFFF#000000##FFFFFF
##8E1A4F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#9A0032
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a4f;
/* rgb */ color: rgb(142, 26, 79);
/* oklch */ color: oklch(43.4% 0.156 358.9);
Tailwind
colors: {
  custom: {
    50: '#b46480',
    500: '#8e1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a4f;
$custom-light: #b46480;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a4f",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 332.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.15563,
    "h": 358.9
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#8E1A4F
secondary
#45BE87
accent
#EC9B3C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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