#8E2A5B#8E2A5B

#8E2A5B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.143 H 354.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E2A5B
RGBrgb(142, 42, 91)
HSLhsl(331, 54%, 36%)
HSVhsv(331, 70%, 56%)
CMYKcmyk(0%, 70.4%, 35.9%, 44.3%)
CIE-LABlab(34.32, 46.35, -5.65)
CIE-LCHlch(34.32, 46.69, 353.05°)
OKLaboklab(45.26% 0.1418 -0.0143)
OKLCHoklch(45.26% 0.143 354.2)
XYZxyz(13.8724, 8.1636, 10.7407)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A5B #2A8E5D
analogous
#8E2A8D #8E2A5B #8E2B2A
triadic
#8E2A5B #5B8E2A #2A5B8E
tetradic
#8E2A5B #8D8E2A #2A8E5D #2B2A8E
square
#8E2A5B #8D8E2A #2A8E5D #2B2A8E
split-complementary
#8E2A5B #2A8E2B #2A8D8E
monochromatic
#300E1E #5F1C3D #8E2A5B #BD3879 #D16298

Accessibility & contrast

On white

7.98
#8E2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A5B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A5B#FFFFFF#000000##FFFFFF
##8E2A5B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#575759
Tritanopia (blue-blind)
#99223F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2a5b;
/* rgb */ color: rgb(142, 42, 91);
/* oklch */ color: oklch(45.3% 0.143 354.2);
Tailwind
colors: {
  custom: {
    50: '#b36b89',
    500: '#8e2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a5b;
$custom-light: #b36b89;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a5b",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 330.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45256,
    "c": 0.14255,
    "h": 354.2
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#8E2A5B
secondary
#5DB68B
accent
#DE954A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8E2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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