#8B296C#8B296C

#8B296C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.151 H 342.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8B296C
RGBrgb(139, 41, 108)
HSLhsl(319, 54%, 35%)
HSVhsv(319, 71%, 55%)
CMYKcmyk(0%, 70.5%, 22.3%, 45.5%)
CIE-LABlab(34.31, 48.12, -16.58)
CIE-LCHlch(34.31, 50.90, 340.99°)
OKLaboklab(45.37% 0.1445 -0.0443)
OKLCHoklch(45.37% 0.151 342.9)
XYZxyz(14.1476, 8.1590, 15.0142)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B296C #298B48
analogous
#79298B #8B296C #8B293B
triadic
#8B296C #6C8B29 #296C8B
tetradic
#8B296C #8B7929 #298B48 #293B8B
square
#8B296C #8B7929 #298B48 #293B8B
split-complementary
#8B296C #3B8B29 #298B79
monochromatic
#2C0D23 #5C1B47 #8B296C #BA3791 #D05FAC

Accessibility & contrast

On white

7.98
#8B296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B296C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B296C#FFFFFF#000000##FFFFFF
##8B296C1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466E
Deuteranopia (green-blind)
#50576A
Tritanopia (blue-blind)
#942947
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b296c;
/* rgb */ color: rgb(139, 41, 108);
/* oklch */ color: oklch(45.4% 0.151 342.9);
Tailwind
colors: {
  custom: {
    50: '#b06b96',
    500: '#8b296c',
    950: '#000000',
  },
}
SCSS
$custom: #8b296c;
$custom-light: #b06b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8b296c",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 318.98,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.15117,
    "h": 342.9
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#8B296C
secondary
#5BB577
accent
#DE794A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B296C

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

Preview Lab → · Contrast checker → · Palette generator →

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