#8D296B#8D296B

#8D296B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.152 H 344.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8D296B
RGBrgb(141, 41, 107)
HSLhsl(320, 55%, 36%)
HSVhsv(320, 71%, 55%)
CMYKcmyk(0%, 70.9%, 24.1%, 44.7%)
CIE-LABlab(34.62, 48.54, -15.44)
CIE-LCHlch(34.62, 50.94, 342.36°)
OKLaboklab(45.65% 0.1464 -0.0411)
OKLCHoklch(45.65% 0.152 344.3)
XYZxyz(14.4318, 8.3116, 14.7513)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D296B #298D4B
analogous
#7D298D #8D296B #8D2939
triadic
#8D296B #6B8D29 #296B8D
tetradic
#8D296B #8D7D29 #298D4B #29398D
square
#8D296B #8D7D29 #298D4B #29398D
split-complementary
#8D296B #398D29 #298D7D
monochromatic
#2E0D23 #5E1B47 #8D296B #BC378F #D160AA

Accessibility & contrast

On white

7.89
#8D296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D296B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D296B#FFFFFF#000000##FFFFFF
##8D296B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#962846
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d296b;
/* rgb */ color: rgb(141, 41, 107);
/* oklch */ color: oklch(45.6% 0.152 344.3);
Tailwind
colors: {
  custom: {
    50: '#b26b95',
    500: '#8d296b',
    950: '#000000',
  },
}
SCSS
$custom: #8d296b;
$custom-light: #b26b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8d296b",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 320.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45648,
    "c": 0.15202,
    "h": 344.3
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#8D296B
secondary
#5BB67A
accent
#DE7C4A
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D296B

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

Preview Lab → · Contrast checker → · Palette generator →

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