#7B296B#7B296B

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

Color values

HEX#7B296B
RGBrgb(123, 41, 107)
HSLhsl(312, 50%, 32%)
HSVhsv(312, 67%, 48%)
CMYKcmyk(0%, 66.7%, 13%, 51.8%)
CIE-LABlab(31.48, 43.45, -20.54)
CIE-LCHlch(31.48, 48.06, 334.70°)
OKLaboklab(42.75% 0.1271 -0.0558)
OKLCHoklch(42.75% 0.139 336.3)
XYZxyz(11.6153, 6.8593, 14.6193)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B296B #297B39
analogous
#62297B #7B296B #7B2942
triadic
#7B296B #6B7B29 #296B7B
tetradic
#7B296B #7B6229 #297B39 #29427B
square
#7B296B #7B6229 #297B39 #29427B
split-complementary
#7B296B #427B29 #297B62
monochromatic
#1F0A1B #4D1A43 #7B296B #A93893 #C757B1

Accessibility & contrast

On white

8.85
#7B296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7B296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B296B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B296B#FFFFFF#000000##FFFFFF
##7B296B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b296b;
/* rgb */ color: rgb(123, 41, 107);
/* oklch */ color: oklch(42.8% 0.139 336.3);
Tailwind
colors: {
  custom: {
    50: '#a46995',
    500: '#7b296b',
    950: '#000000',
  },
}
SCSS
$custom: #7b296b;
$custom-light: #a46995;
$custom-dark: #000000;
JSON
{
  "hex": "#7b296b",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 311.707,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42752,
    "c": 0.13885,
    "h": 336.3
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#7B296B
secondary
#53AC65
accent
#DA694E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B296B

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

Preview Lab → · Contrast checker → · Palette generator →

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