#8E2D54#8E2D54

#8E2D54 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.136 H 359.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8E2D54
RGBrgb(142, 45, 84)
HSLhsl(336, 52%, 37%)
HSVhsv(336, 68%, 56%)
CMYKcmyk(0%, 68.3%, 40.8%, 44.3%)
CIE-LABlab(34.54, 44.29, -0.82)
CIE-LCHlch(34.54, 44.30, 358.94°)
OKLaboklab(45.34% 0.1356 -0.0016)
OKLCHoklch(45.34% 0.136 359.3)
XYZxyz(13.6949, 8.2693, 9.2607)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D54 #2D8E67
analogous
#8E2D85 #8E2D54 #8E362D
triadic
#8E2D54 #548E2D #2D548E
tetradic
#8E2D54 #858E2D #2D8E67 #362D8E
square
#8E2D54 #858E2D #2D8E67 #362D8E
split-complementary
#8E2D54 #2D8E36 #2D858E
monochromatic
#31101D #601E39 #8E2D54 #BC3C6F #CF6791

Accessibility & contrast

On white

7.91
#8E2D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E2D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D54
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D54#FFFFFF#000000##FFFFFF
##8E2D541.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404655
Deuteranopia (green-blind)
#5A5852
Tritanopia (blue-blind)
#9A223D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2d54;
/* rgb */ color: rgb(142, 45, 84);
/* oklch */ color: oklch(45.3% 0.136 359.3);
Tailwind
colors: {
  custom: {
    50: '#b36d84',
    500: '#8e2d54',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d54;
$custom-light: #b36d84;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d54",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 335.876,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.13558,
    "h": 359.3
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#8E2D54
secondary
#61B594
accent
#DBA24C
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2D54

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

Preview Lab → · Contrast checker → · Palette generator →

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