#7E296C#7E296C

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

Color values

HEX#7E296C
RGBrgb(126, 41, 108)
HSLhsl(313, 51%, 33%)
HSVhsv(313, 67%, 49%)
CMYKcmyk(0%, 67.5%, 14.3%, 50.6%)
CIE-LABlab(32.05, 44.46, -20.27)
CIE-LCHlch(32.05, 48.87, 335.49°)
OKLaboklab(43.28% 0.1306 -0.055)
OKLCHoklch(43.28% 0.142 337.2)
XYZxyz(12.1041, 7.1052, 14.9184)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E296C #297E3B
analogous
#65297E #7E296C #7E2941
triadic
#7E296C #6C7E29 #296C7E
tetradic
#7E296C #7E6529 #297E3B #29417E
square
#7E296C #7E6529 #297E3B #29417E
split-complementary
#7E296C #417E29 #297E65
monochromatic
#220B1D #501A44 #7E296C #AC3894 #C959B1

Accessibility & contrast

On white

8.67
#7E296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E296C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E296C#FFFFFF#000000##FFFFFF
##7E296C1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436E
Deuteranopia (green-blind)
#46506A
Tritanopia (blue-blind)
#852D46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e296c;
/* rgb */ color: rgb(126, 41, 108);
/* oklch */ color: oklch(43.3% 0.142 337.2);
Tailwind
colors: {
  custom: {
    50: '#a66996',
    500: '#7e296c',
    950: '#000000',
  },
}
SCSS
$custom: #7e296c;
$custom-light: #a66996;
$custom-dark: #000000;
JSON
{
  "hex": "#7e296c",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 312.706,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.14174,
    "h": 337.2
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#7E296C
secondary
#55AE68
accent
#DA6B4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E296C

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

Preview Lab → · Contrast checker → · Palette generator →

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