#8E2F5E#8E2F5E

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

Color values

HEX#8E2F5E
RGBrgb(142, 47, 94)
HSLhsl(330, 50%, 37%)
HSVhsv(330, 67%, 56%)
CMYKcmyk(0%, 66.9%, 33.8%, 44.3%)
CIE-LABlab(35.19, 44.62, -6.28)
CIE-LCHlch(35.19, 45.06, 351.99°)
OKLaboklab(45.93% 0.1362 -0.0161)
OKLCHoklch(45.93% 0.137 353.3)
XYZxyz(14.1930, 8.5935, 11.4988)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F5E #2F8E5F
analogous
#8E2F8E #8E2F5E #8E302F
triadic
#8E2F5E #5E8E2F #2F5E8E
tetradic
#8E2F5E #8E8E2F #2F8E5F #302F8E
square
#8E2F5E #8E8E2F #2F8E5F #302F8E
split-complementary
#8E2F5E #2F8E30 #2F8E8E
monochromatic
#321121 #602040 #8E2F5E #BC3E7C #CE6A9B

Accessibility & contrast

On white

7.73
#8E2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E2F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F5E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F5E#FFFFFF#000000##FFFFFF
##8E2F5E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485F
Deuteranopia (green-blind)
#58595C
Tritanopia (blue-blind)
#992942
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2f5e;
/* rgb */ color: rgb(142, 47, 94);
/* oklch */ color: oklch(45.9% 0.137 353.3);
Tailwind
colors: {
  custom: {
    50: '#b36e8b',
    500: '#8e2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f5e;
$custom-light: #b36e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f5e",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 330.316,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.13713,
    "h": 353.3
  },
  "luminance": 0.08592
}

Semantic roles & 50–950 ramp

primary
#8E2F5E
secondary
#64B58D
accent
#DA954E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8E2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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