#8E1C5F#8E1C5F

#8E1C5F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.161 H 350.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8E1C5F
RGBrgb(142, 28, 95)
HSLhsl(325, 67%, 33%)
HSVhsv(325, 80%, 56%)
CMYKcmyk(0%, 80.3%, 33.1%, 44.3%)
CIE-LABlab(32.72, 51.75, -10.64)
CIE-LCHlch(32.72, 52.83, 348.39°)
OKLaboklab(44.13% 0.1585 -0.0277)
OKLCHoklch(44.13% 0.161 350.1)
XYZxyz(13.6369, 7.4091, 11.5362)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C5F #1C8E4B
analogous
#841C8E #8E1C5F #8E1C26
triadic
#8E1C5F #5F8E1C #1C5F8E
tetradic
#8E1C5F #8E841C #1C8E4B #1C268E
square
#8E1C5F #8E841C #1C8E4B #1C268E
split-complementary
#8E1C5F #268E1C #1C8E84
monochromatic
#28081B #5B123D #8E1C5F #C12681 #DB499F

Accessibility & contrast

On white

8.46
#8E1C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C5F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C5F#FFFFFF#000000##FFFFFF
##8E1C5F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#51545C
Tritanopia (blue-blind)
#99133B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1c5f;
/* rgb */ color: rgb(142, 28, 95);
/* oklch */ color: oklch(44.1% 0.161 350.1);
Tailwind
colors: {
  custom: {
    50: '#b3668c',
    500: '#8e1c5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c5f;
$custom-light: #b3668c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c5f",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 324.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.16088,
    "h": 350.1
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#8E1C5F
secondary
#49BD79
accent
#EA853E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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