#8E2F5D#8E2F5D

#8E2F5D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.137 H 353.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8E2F5D
RGBrgb(142, 47, 93)
HSLhsl(331, 50%, 37%)
HSVhsv(331, 67%, 56%)
CMYKcmyk(0%, 66.9%, 34.5%, 44.3%)
CIE-LABlab(35.15, 44.50, -5.69)
CIE-LCHlch(35.15, 44.86, 352.71°)
OKLaboklab(45.89% 0.1359 -0.0145)
OKLCHoklch(45.89% 0.137 353.9)
XYZxyz(14.1484, 8.5757, 11.2640)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F5D #2F8E60
analogous
#8E2F8D #8E2F5D #8E302F
triadic
#8E2F5D #5D8E2F #2F5D8E
tetradic
#8E2F5D #8D8E2F #2F8E60 #302F8E
square
#8E2F5D #8D8E2F #2F8E60 #302F8E
split-complementary
#8E2F5D #2F8E30 #2F8D8E
monochromatic
#321121 #60203F #8E2F5D #BC3E7B #CE6A9A

Accessibility & contrast

On white

7.74
#8E2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F5D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F5D#FFFFFF#000000##FFFFFF
##8E2F5D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485E
Deuteranopia (green-blind)
#59595B
Tritanopia (blue-blind)
#992842
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2f5d;
/* rgb */ color: rgb(142, 47, 93);
/* oklch */ color: oklch(45.9% 0.137 353.9);
Tailwind
colors: {
  custom: {
    50: '#b36e8a',
    500: '#8e2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f5d;
$custom-light: #b36e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f5d",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 330.947,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.13664,
    "h": 353.9
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#8E2F5D
secondary
#64B58E
accent
#DA964E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8E2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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