#8E1A5F#8E1A5F

#8E1A5F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.163 H 349.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8E1A5F
RGBrgb(142, 26, 95)
HSLhsl(324, 69%, 33%)
HSVhsv(324, 82%, 56%)
CMYKcmyk(0%, 81.7%, 33.1%, 44.3%)
CIE-LABlab(32.52, 52.33, -10.94)
CIE-LCHlch(32.52, 53.46, 348.19°)
OKLaboklab(43.99% 0.1603 -0.0286)
OKLCHoklch(43.99% 0.163 349.9)
XYZxyz(13.5911, 7.3174, 11.5209)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A5F #1A8E49
analogous
#831A8E #8E1A5F #8E1A25
triadic
#8E1A5F #5F8E1A #1A5F8E
tetradic
#8E1A5F #8E831A #1A8E49 #1A258E
square
#8E1A5F #8E831A #1A8E49 #1A258E
split-complementary
#8E1A5F #258E1A #1A8E83
monochromatic
#27071A #5A113C #8E1A5F #C22382 #DD45A0

Accessibility & contrast

On white

8.53
#8E1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A5F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A5F#FFFFFF#000000##FFFFFF
##8E1A5F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#99103B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1a5f;
/* rgb */ color: rgb(142, 26, 95);
/* oklch */ color: oklch(44.0% 0.163 349.9);
Tailwind
colors: {
  custom: {
    50: '#b3658c',
    500: '#8e1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a5f;
$custom-light: #b3658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a5f",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 324.31,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43987,
    "c": 0.16282,
    "h": 349.9
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#8E1A5F
secondary
#45BE76
accent
#EC833C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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