#7E296E#7E296E

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

Color values

HEX#7E296E
RGBrgb(126, 41, 110)
HSLhsl(311, 51%, 33%)
HSVhsv(311, 67%, 49%)
CMYKcmyk(0%, 67.5%, 12.7%, 50.6%)
CIE-LABlab(32.14, 44.79, -21.39)
CIE-LCHlch(32.14, 49.64, 334.47°)
OKLaboklab(43.38% 0.131 -0.0582)
OKLCHoklch(43.38% 0.143 336.1)
XYZxyz(12.2117, 7.1483, 15.4854)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E296E #297E39
analogous
#63297E #7E296E #7E2944
triadic
#7E296E #6E7E29 #296E7E
tetradic
#7E296E #7E6329 #297E39 #29447E
square
#7E296E #7E6329 #297E39 #29447E
split-complementary
#7E296E #447E29 #297E63
monochromatic
#220B1D #501A46 #7E296E #AC3896 #C959B4

Accessibility & contrast

On white

8.64
#7E296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E296E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E296E#FFFFFF#000000##FFFFFF
##7E296E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#842E47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e296e;
/* rgb */ color: rgb(126, 41, 110);
/* oklch */ color: oklch(43.4% 0.143 336.1);
Tailwind
colors: {
  custom: {
    50: '#a66a98',
    500: '#7e296e',
    950: '#000000',
  },
}
SCSS
$custom: #7e296e;
$custom-light: #a66a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e296e",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 311.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.14329,
    "h": 336.1
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#7E296E
secondary
#55AE65
accent
#DA684D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E296E

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

Preview Lab → · Contrast checker → · Palette generator →

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