#8E1B54#8E1B54

#8E1B54 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.157 H 356.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8E1B54
RGBrgb(142, 27, 84)
HSLhsl(330, 68%, 33%)
HSVhsv(330, 81%, 56%)
CMYKcmyk(0%, 81%, 40.8%, 44.3%)
CIE-LABlab(32.21, 50.81, -4.26)
CIE-LCHlch(32.21, 50.99, 355.21°)
OKLaboklab(43.62% 0.1563 -0.0106)
OKLCHoklch(43.62% 0.157 356.1)
XYZxyz(13.1484, 7.1764, 9.0786)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B54 #1B8E55
analogous
#8E1B8D #8E1B54 #8E1C1B
triadic
#8E1B54 #548E1B #1B548E
tetradic
#8E1B54 #8D8E1B #1B8E55 #1C1B8E
square
#8E1B54 #8D8E1B #1B8E55 #1C1B8E
split-complementary
#8E1B54 #1B8E1C #1B8D8E
monochromatic
#270717 #5B1136 #8E1B54 #C12572 #DC4791

Accessibility & contrast

On white

8.62
#8E1B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E1B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B54
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B54#FFFFFF#000000##FFFFFF
##8E1B541.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E55
Deuteranopia (green-blind)
#545351
Tritanopia (blue-blind)
#9A0735
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1b54;
/* rgb */ color: rgb(142, 27, 84);
/* oklch */ color: oklch(43.6% 0.157 356.1);
Tailwind
colors: {
  custom: {
    50: '#b46584',
    500: '#8e1b54',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b54;
$custom-light: #b46584;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b54",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 330.261,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.15666,
    "h": 356.1
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#8E1B54
secondary
#47BE83
accent
#EB953D
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1B54

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

Preview Lab → · Contrast checker → · Palette generator →

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