#7B296C#7B296C

#7B296C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.140 H 335.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7B296C
RGBrgb(123, 41, 108)
HSLhsl(311, 50%, 32%)
HSVhsv(311, 67%, 48%)
CMYKcmyk(0%, 66.7%, 12.2%, 51.8%)
CIE-LABlab(31.53, 43.61, -21.11)
CIE-LCHlch(31.53, 48.45, 334.18°)
OKLaboklab(42.8% 0.1273 -0.0574)
OKLCHoklch(42.8% 0.14 335.7)
XYZxyz(11.6682, 6.8805, 14.8980)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B296C #297B38
analogous
#61297B #7B296C #7B2943
triadic
#7B296C #6C7B29 #296C7B
tetradic
#7B296C #7B6129 #297B38 #29437B
square
#7B296C #7B6129 #297B38 #29437B
split-complementary
#7B296C #437B29 #297B61
monochromatic
#1F0A1B #4D1A44 #7B296C #A93894 #C757B3

Accessibility & contrast

On white

8.84
#7B296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7B296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B296C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B296C#FFFFFF#000000##FFFFFF
##7B296C1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426E
Deuteranopia (green-blind)
#444F6A
Tritanopia (blue-blind)
#812E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b296c;
/* rgb */ color: rgb(123, 41, 108);
/* oklch */ color: oklch(42.8% 0.140 335.7);
Tailwind
colors: {
  custom: {
    50: '#a46996',
    500: '#7b296c',
    950: '#000000',
  },
}
SCSS
$custom: #7b296c;
$custom-light: #a46996;
$custom-dark: #000000;
JSON
{
  "hex": "#7b296c",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 310.976,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.13963,
    "h": 335.7
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#7B296C
secondary
#53AC64
accent
#DA684E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B296C

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

Preview Lab → · Contrast checker → · Palette generator →

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