#8E2A54#8E2A54

#8E2A54 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.140 H 358.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8E2A54
RGBrgb(142, 42, 84)
HSLhsl(335, 54%, 36%)
HSVhsv(335, 70%, 56%)
CMYKcmyk(0%, 70.4%, 40.8%, 44.3%)
CIE-LABlab(34.08, 45.54, -1.49)
CIE-LCHlch(34.08, 45.57, 358.13°)
OKLaboklab(45% 0.1395 -0.0033)
OKLCHoklch(45% 0.14 358.6)
XYZxyz(13.5844, 8.0484, 9.2239)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A54 #2A8E64
analogous
#8E2A86 #8E2A54 #8E322A
triadic
#8E2A54 #548E2A #2A548E
tetradic
#8E2A54 #868E2A #2A8E64 #322A8E
square
#8E2A54 #868E2A #2A8E64 #322A8E
split-complementary
#8E2A54 #2A8E32 #2A868E
monochromatic
#300E1C #5F1C38 #8E2A54 #BD3870 #D16290

Accessibility & contrast

On white

8.05
#8E2A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E2A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A54
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A54#FFFFFF#000000##FFFFFF
##8E2A541.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#595752
Tritanopia (blue-blind)
#9A1F3B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2a54;
/* rgb */ color: rgb(142, 42, 84);
/* oklch */ color: oklch(45.0% 0.140 358.6);
Tailwind
colors: {
  custom: {
    50: '#b36b84',
    500: '#8e2a54',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a54;
$custom-light: #b36b84;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a54",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 334.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.13957,
    "h": 358.6
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#8E2A54
secondary
#5DB691
accent
#DEA04A
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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