#8E296D#8E296D

#8E296D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.154 H 343.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8E296D
RGBrgb(142, 41, 109)
HSLhsl(320, 55%, 36%)
HSVhsv(320, 71%, 56%)
CMYKcmyk(0%, 71.1%, 23.2%, 44.3%)
CIE-LABlab(34.89, 49.10, -16.29)
CIE-LCHlch(34.89, 51.73, 341.65°)
OKLaboklab(45.9% 0.1478 -0.0435)
OKLCHoklch(45.9% 0.154 343.6)
XYZxyz(14.7091, 8.4423, 15.3199)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E296D #298E4A
analogous
#7C298E #8E296D #8E293A
triadic
#8E296D #6D8E29 #296D8E
tetradic
#8E296D #8E7C29 #298E4A #293A8E
square
#8E296D #8E7C29 #298E4A #293A8E
split-complementary
#8E296D #3A8E29 #298E7C
monochromatic
#2F0E24 #5F1B49 #8E296D #BD3791 #D160AC

Accessibility & contrast

On white

7.81
#8E296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E296D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E296D#FFFFFF#000000##FFFFFF
##8E296D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#52586B
Tritanopia (blue-blind)
#972947
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e296d;
/* rgb */ color: rgb(142, 41, 109);
/* oklch */ color: oklch(45.9% 0.154 343.6);
Tailwind
colors: {
  custom: {
    50: '#b26c97',
    500: '#8e296d',
    950: '#000000',
  },
}
SCSS
$custom: #8e296d;
$custom-light: #b26c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e296d",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 319.604,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.15405,
    "h": 343.6
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#8E296D
secondary
#5CB77A
accent
#DF7A49
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E296D

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

Preview Lab → · Contrast checker → · Palette generator →

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