#7E294D#7E294D

#7E294D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 41.9% C 0.123 H 357.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7E294D
RGBrgb(126, 41, 77)
HSLhsl(335, 51%, 33%)
HSVhsv(335, 67%, 49%)
CMYKcmyk(0%, 67.5%, 38.9%, 50.6%)
CIE-LABlab(30.78, 40.07, -2.12)
CIE-LCHlch(30.78, 40.13, 356.97°)
OKLaboklab(41.93% 0.1226 -0.0051)
OKLCHoklch(41.93% 0.123 357.6)
XYZxyz(10.7373, 6.5585, 7.7202)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E294D #297E5A
analogous
#7E2977 #7E294D #7E2F29
triadic
#7E294D #4D7E29 #294D7E
tetradic
#7E294D #777E29 #297E5A #2F297E
square
#7E294D #777E29 #297E5A #2F297E
split-complementary
#7E294D #297E2F #29777E
monochromatic
#220B15 #501A31 #7E294D #AC3869 #C95988

Accessibility & contrast

On white

9.09
#7E294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E294D
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E294D#FFFFFF#000000##FFFFFF
##7E294D1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4E
Deuteranopia (green-blind)
#4F4E4B
Tritanopia (blue-blind)
#882137
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e294d;
/* rgb */ color: rgb(126, 41, 77);
/* oklch */ color: oklch(41.9% 0.123 357.6);
Tailwind
colors: {
  custom: {
    50: '#a7697e',
    500: '#7e294d',
    950: '#000000',
  },
}
SCSS
$custom: #7e294d;
$custom-light: #a7697e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e294d",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 334.588,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.12265,
    "h": 357.6
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#7E294D
secondary
#55AE88
accent
#DA9F4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E294D

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

Preview Lab → · Contrast checker → · Palette generator →

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