#8E2C5F#8E2C5F

#8E2C5F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.142 H 352.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E2C5F
RGBrgb(142, 44, 95)
HSLhsl(329, 53%, 36%)
HSVhsv(329, 69%, 56%)
CMYKcmyk(0%, 69%, 33.1%, 44.3%)
CIE-LABlab(34.76, 46.02, -7.56)
CIE-LCHlch(34.76, 46.64, 350.67°)
OKLaboklab(45.63% 0.1405 -0.0195)
OKLCHoklch(45.63% 0.142 352.1)
XYZxyz(14.1223, 8.3799, 11.6980)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C5F #2C8E5B
analogous
#8C2C8E #8E2C5F #8E2C2E
triadic
#8E2C5F #5F8E2C #2C5F8E
tetradic
#8E2C5F #8E8C2C #2C8E5B #2C2E8E
square
#8E2C5F #8E8C2C #2C8E5B #2C2E8E
split-complementary
#8E2C5F #2E8E2C #2C8E8C
monochromatic
#310F20 #5F1E40 #8E2C5F #BD3A7E #CF659C

Accessibility & contrast

On white

7.85
#8E2C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E2C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C5F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C5F#FFFFFF#000000##FFFFFF
##8E2C5F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4760
Deuteranopia (green-blind)
#57585D
Tritanopia (blue-blind)
#992641
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2c5f;
/* rgb */ color: rgb(142, 44, 95);
/* oklch */ color: oklch(45.6% 0.142 352.1);
Tailwind
colors: {
  custom: {
    50: '#b36d8c',
    500: '#8e2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c5f;
$custom-light: #b36d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c5f",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 328.776,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45627,
    "c": 0.14182,
    "h": 352.1
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#8E2C5F
secondary
#60B689
accent
#DC914C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8E2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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