#7B296D#7B296D

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

Color values

HEX#7B296D
RGBrgb(123, 41, 109)
HSLhsl(310, 50%, 32%)
HSVhsv(310, 67%, 48%)
CMYKcmyk(0%, 66.7%, 11.4%, 51.8%)
CIE-LABlab(31.58, 43.78, -21.67)
CIE-LCHlch(31.58, 48.85, 333.67°)
OKLaboklab(42.86% 0.1274 -0.059)
OKLCHoklch(42.86% 0.14 335.2)
XYZxyz(11.7217, 6.9019, 15.1799)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B296D #297B37
analogous
#60297B #7B296D #7B2944
triadic
#7B296D #6D7B29 #296D7B
tetradic
#7B296D #7B6029 #297B37 #29447B
square
#7B296D #7B6029 #297B37 #29447B
split-complementary
#7B296D #447B29 #297B60
monochromatic
#1F0A1C #4D1A44 #7B296D #A93896 #C757B4

Accessibility & contrast

On white

8.82
#7B296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B296D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B296D#FFFFFF#000000##FFFFFF
##7B296D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#812E47
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b296d;
/* rgb */ color: rgb(123, 41, 109);
/* oklch */ color: oklch(42.9% 0.140 335.2);
Tailwind
colors: {
  custom: {
    50: '#a46997',
    500: '#7b296d',
    950: '#000000',
  },
}
SCSS
$custom: #7b296d;
$custom-light: #a46997;
$custom-dark: #000000;
JSON
{
  "hex": "#7b296d",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 310.244,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.14043,
    "h": 335.2
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#7B296D
secondary
#53AC63
accent
#DA664E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7B296D

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

Preview Lab → · Contrast checker → · Palette generator →

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