#7D296D#7D296D

#7D296D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.142 H 336.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7D296D
RGBrgb(125, 41, 109)
HSLhsl(311, 51%, 33%)
HSVhsv(311, 67%, 49%)
CMYKcmyk(0%, 67.2%, 12.8%, 51%)
CIE-LABlab(31.92, 44.35, -21.11)
CIE-LCHlch(31.92, 49.11, 334.54°)
OKLaboklab(43.17% 0.1297 -0.0574)
OKLCHoklch(43.17% 0.142 336.1)
XYZxyz(12.0109, 7.0510, 15.1934)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D296D #297D39
analogous
#63297D #7D296D #7D2943
triadic
#7D296D #6D7D29 #296D7D
tetradic
#7D296D #7D6329 #297D39 #29437D
square
#7D296D #7D6329 #297D39 #29437D
split-complementary
#7D296D #437D29 #297D63
monochromatic
#210B1D #4F1A45 #7D296D #AB3895 #C858B3

Accessibility & contrast

On white

8.71
#7D296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7D296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D296D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D296D#FFFFFF#000000##FFFFFF
##7D296D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A436F
Deuteranopia (green-blind)
#45506B
Tritanopia (blue-blind)
#832E47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d296d;
/* rgb */ color: rgb(125, 41, 109);
/* oklch */ color: oklch(43.2% 0.142 336.1);
Tailwind
colors: {
  custom: {
    50: '#a56997',
    500: '#7d296d',
    950: '#000000',
  },
}
SCSS
$custom: #7d296d;
$custom-light: #a56997;
$custom-dark: #000000;
JSON
{
  "hex": "#7d296d",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 311.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.14182,
    "h": 336.1
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#7D296D
secondary
#54AE65
accent
#DA684E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D296D

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

Preview Lab → · Contrast checker → · Palette generator →

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