#8D296F#8D296F

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

Color values

HEX#8D296F
RGBrgb(141, 41, 111)
HSLhsl(318, 55%, 36%)
HSVhsv(318, 71%, 55%)
CMYKcmyk(0%, 70.9%, 21.3%, 44.7%)
CIE-LABlab(34.80, 49.11, -17.70)
CIE-LCHlch(34.80, 52.20, 340.17°)
OKLaboklab(45.83% 0.1472 -0.0475)
OKLCHoklch(45.83% 0.155 342.1)
XYZxyz(14.6471, 8.3977, 15.8854)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D296F #298D47
analogous
#79298D #8D296F #8D293D
triadic
#8D296F #6F8D29 #296F8D
tetradic
#8D296F #8D7929 #298D47 #293D8D
square
#8D296F #8D7929 #298D47 #293D8D
split-complementary
#8D296F #3D8D29 #298D79
monochromatic
#2E0D24 #5E1B4A #8D296F #BC3794 #D160AF

Accessibility & contrast

On white

7.84
#8D296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D296F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D296F#FFFFFF#000000##FFFFFF
##8D296F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324771
Deuteranopia (green-blind)
#50586D
Tritanopia (blue-blind)
#962A48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d296f;
/* rgb */ color: rgb(141, 41, 111);
/* oklch */ color: oklch(45.8% 0.155 342.1);
Tailwind
colors: {
  custom: {
    50: '#b26b98',
    500: '#8d296f',
    950: '#000000',
  },
}
SCSS
$custom: #8d296f;
$custom-light: #b26b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8d296f",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 318,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.15465,
    "h": 342.1
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#8D296F
secondary
#5BB677
accent
#DE764A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D296F

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

Preview Lab → · Contrast checker → · Palette generator →

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