#8E296A#8E296A

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

Color values

HEX#8E296A
RGBrgb(142, 41, 106)
HSLhsl(321, 55%, 36%)
HSVhsv(321, 71%, 56%)
CMYKcmyk(0%, 71.1%, 25.4%, 44.3%)
CIE-LABlab(34.76, 48.68, -14.58)
CIE-LCHlch(34.76, 50.82, 343.33°)
OKLaboklab(45.77% 0.1471 -0.0387)
OKLCHoklch(45.77% 0.152 345.3)
XYZxyz(14.5504, 8.3788, 14.4839)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E296A #298E4D
analogous
#7F298E #8E296A #8E2937
triadic
#8E296A #6A8E29 #296A8E
tetradic
#8E296A #8E7F29 #298E4D #29378E
square
#8E296A #8E7F29 #298E4D #29378E
split-complementary
#8E296A #378E29 #298E7F
monochromatic
#2F0E23 #5F1B47 #8E296A #BD378D #D160A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E296A#FFFFFF#000000##FFFFFF
##8E296A1.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)
#35476C
Deuteranopia (green-blind)
#535868
Tritanopia (blue-blind)
#982746
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e296a;
/* rgb */ color: rgb(142, 41, 106);
/* oklch */ color: oklch(45.8% 0.152 345.3);
Tailwind
colors: {
  custom: {
    50: '#b36b94',
    500: '#8e296a',
    950: '#000000',
  },
}
SCSS
$custom: #8e296a;
$custom-light: #b36b94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e296a",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 321.386,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.15214,
    "h": 345.3
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#8E296A
secondary
#5CB77C
accent
#DF7E49
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E296A

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

Preview Lab → · Contrast checker → · Palette generator →

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