#7E296D#7E296D

#7E296D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 336.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7E296D
RGBrgb(126, 41, 109)
HSLhsl(312, 51%, 33%)
HSVhsv(312, 67%, 49%)
CMYKcmyk(0%, 67.5%, 13.5%, 50.6%)
CIE-LABlab(32.09, 44.63, -20.83)
CIE-LCHlch(32.09, 49.25, 334.98°)
OKLaboklab(43.33% 0.1308 -0.0566)
OKLCHoklch(43.33% 0.143 336.6)
XYZxyz(12.1576, 7.1267, 15.2003)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E296D #297E3A
analogous
#64297E #7E296D #7E2942
triadic
#7E296D #6D7E29 #296D7E
tetradic
#7E296D #7E6429 #297E3A #29427E
square
#7E296D #7E6429 #297E3A #29427E
split-complementary
#7E296D #427E29 #297E64
monochromatic
#220B1D #501A45 #7E296D #AC3895 #C959B2

Accessibility & contrast

On white

8.66
#7E296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E296D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E296D#FFFFFF#000000##FFFFFF
##7E296D1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#46506B
Tritanopia (blue-blind)
#852E47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e296d;
/* rgb */ color: rgb(126, 41, 109);
/* oklch */ color: oklch(43.3% 0.143 336.6);
Tailwind
colors: {
  custom: {
    50: '#a66a97',
    500: '#7e296d',
    950: '#000000',
  },
}
SCSS
$custom: #7e296d;
$custom-light: #a66a97;
$custom-dark: #000000;
JSON
{
  "hex": "#7e296d",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 312,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.14252,
    "h": 336.6
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#7E296D
secondary
#55AE67
accent
#DA6A4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E296D

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

Preview Lab → · Contrast checker → · Palette generator →

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