#8E296F#8E296F

#8E296F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.155 H 342.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8E296F
RGBrgb(142, 41, 111)
HSLhsl(318, 55%, 36%)
HSVhsv(318, 71%, 56%)
CMYKcmyk(0%, 71.1%, 21.8%, 44.3%)
CIE-LABlab(34.97, 49.39, -17.42)
CIE-LCHlch(34.97, 52.37, 340.57°)
OKLaboklab(46% 0.1482 -0.0466)
OKLCHoklch(46% 0.155 342.5)
XYZxyz(14.8180, 8.4858, 15.8934)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E296F #298E48
analogous
#7A298E #8E296F #8E293C
triadic
#8E296F #6F8E29 #296F8E
tetradic
#8E296F #8E7A29 #298E48 #293C8E
square
#8E296F #8E7A29 #298E48 #293C8E
split-complementary
#8E296F #3C8E29 #298E7A
monochromatic
#2F0E25 #5F1B4A #8E296F #BD3794 #D160AF

Accessibility & contrast

On white

7.79
#8E296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E296F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E296F#FFFFFF#000000##FFFFFF
##8E296F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#51586D
Tritanopia (blue-blind)
#972A48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e296f;
/* rgb */ color: rgb(142, 41, 111);
/* oklch */ color: oklch(46.0% 0.155 342.5);
Tailwind
colors: {
  custom: {
    50: '#b26c98',
    500: '#8e296f',
    950: '#000000',
  },
}
SCSS
$custom: #8e296f;
$custom-light: #b26c98;
$custom-dark: #000000;
JSON
{
  "hex": "#8e296f",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 318.416,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45995,
    "c": 0.15537,
    "h": 342.5
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#8E296F
secondary
#5CB778
accent
#DF7749
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E296F

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

Preview Lab → · Contrast checker → · Palette generator →

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