#7E296A#7E296A

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

Color values

HEX#7E296A
RGBrgb(126, 41, 106)
HSLhsl(314, 51%, 33%)
HSVhsv(314, 67%, 49%)
CMYKcmyk(0%, 67.5%, 15.9%, 50.6%)
CIE-LABlab(31.95, 44.14, -19.14)
CIE-LCHlch(31.95, 48.11, 336.56°)
OKLaboklab(43.18% 0.1303 -0.0518)
OKLCHoklch(43.18% 0.14 338.3)
XYZxyz(11.9989, 7.0632, 14.3643)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E296A #297E3D
analogous
#68297E #7E296A #7E293F
triadic
#7E296A #6A7E29 #296A7E
tetradic
#7E296A #7E6829 #297E3D #293F7E
square
#7E296A #7E6829 #297E3D #293F7E
split-complementary
#7E296A #3F7E29 #297E68
monochromatic
#220B1C #501A43 #7E296A #AC3891 #C959AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E296A#FFFFFF#000000##FFFFFF
##7E296A1.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)
#2C436C
Deuteranopia (green-blind)
#475068
Tritanopia (blue-blind)
#852C45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e296a;
/* rgb */ color: rgb(126, 41, 106);
/* oklch */ color: oklch(43.2% 0.140 338.3);
Tailwind
colors: {
  custom: {
    50: '#a66994',
    500: '#7e296a',
    950: '#000000',
  },
}
SCSS
$custom: #7e296a;
$custom-light: #a66994;
$custom-dark: #000000;
JSON
{
  "hex": "#7e296a",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 314.118,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.14021,
    "h": 338.3
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#7E296A
secondary
#55AE6A
accent
#DA6F4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E296A

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

Preview Lab → · Contrast checker → · Palette generator →

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