#7E296F#7E296F

#7E296F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.144 H 335.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7E296F
RGBrgb(126, 41, 111)
HSLhsl(311, 51%, 33%)
HSVhsv(311, 67%, 49%)
CMYKcmyk(0%, 67.5%, 11.9%, 50.6%)
CIE-LABlab(32.19, 44.95, -21.95)
CIE-LCHlch(32.19, 50.03, 333.97°)
OKLaboklab(43.43% 0.1311 -0.0598)
OKLCHoklch(43.43% 0.144 335.5)
XYZxyz(12.2665, 7.1702, 15.7738)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E296F #297E38
analogous
#62297E #7E296F #7E2945
triadic
#7E296F #6F7E29 #296F7E
tetradic
#7E296F #7E6229 #297E38 #29457E
square
#7E296F #7E6229 #297E38 #29457E
split-complementary
#7E296F #457E29 #297E62
monochromatic
#220B1E #501A46 #7E296F #AC3898 #C959B5

Accessibility & contrast

On white

8.63
#7E296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E296F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E296F#FFFFFF#000000##FFFFFF
##7E296F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294471
Deuteranopia (green-blind)
#45506D
Tritanopia (blue-blind)
#842E48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e296f;
/* rgb */ color: rgb(126, 41, 111);
/* oklch */ color: oklch(43.4% 0.144 335.5);
Tailwind
colors: {
  custom: {
    50: '#a66a98',
    500: '#7e296f',
    950: '#000000',
  },
}
SCSS
$custom: #7e296f;
$custom-light: #a66a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e296f",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 310.588,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.14409,
    "h": 335.5
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#7E296F
secondary
#55AE64
accent
#DA664D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E296F

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

Preview Lab → · Contrast checker → · Palette generator →

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