#7E295E#7E295E

#7E295E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.132 H 345.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7E295E
RGBrgb(126, 41, 94)
HSLhsl(323, 51%, 33%)
HSVhsv(323, 67%, 49%)
CMYKcmyk(0%, 67.5%, 25.4%, 50.6%)
CIE-LABlab(31.42, 42.32, -12.24)
CIE-LCHlch(31.42, 44.05, 343.86°)
OKLaboklab(42.61% 0.1277 -0.0324)
OKLCHoklch(42.61% 0.132 345.7)
XYZxyz(11.4179, 6.8308, 11.3047)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E295E #297E49
analogous
#73297E #7E295E #7E2934
triadic
#7E295E #5E7E29 #295E7E
tetradic
#7E295E #7E7329 #297E49 #29347E
square
#7E295E #7E7329 #297E49 #29347E
split-complementary
#7E295E #347E29 #297E73
monochromatic
#220B19 #501A3C #7E295E #AC3880 #C9599F

Accessibility & contrast

On white

8.88
#7E295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E295E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E295E#FFFFFF#000000##FFFFFF
##7E295E1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#86283F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e295e;
/* rgb */ color: rgb(126, 41, 94);
/* oklch */ color: oklch(42.6% 0.132 345.7);
Tailwind
colors: {
  custom: {
    50: '#a6698b',
    500: '#7e295e',
    950: '#000000',
  },
}
SCSS
$custom: #7e295e;
$custom-light: #a6698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e295e",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 322.588,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42613,
    "c": 0.13178,
    "h": 345.7
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#7E295E
secondary
#55AE76
accent
#DA824D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E295E

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

Preview Lab → · Contrast checker → · Palette generator →

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