#7E294C#7E294C

#7E294C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.122 H 358.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7E294C
RGBrgb(126, 41, 76)
HSLhsl(335, 51%, 33%)
HSVhsv(335, 67%, 49%)
CMYKcmyk(0%, 67.5%, 39.7%, 50.6%)
CIE-LABlab(30.75, 39.95, -1.52)
CIE-LCHlch(30.75, 39.98, 357.83°)
OKLaboklab(41.9% 0.1222 -0.0035)
OKLCHoklch(41.9% 0.122 358.4)
XYZxyz(10.7023, 6.5445, 7.5357)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E294C #297E5B
analogous
#7E2976 #7E294C #7E3029
triadic
#7E294C #4C7E29 #294C7E
tetradic
#7E294C #767E29 #297E5B #30297E
square
#7E294C #767E29 #297E5B #30297E
split-complementary
#7E294C #297E30 #29767E
monochromatic
#220B14 #501A30 #7E294C #AC3868 #C95987

Accessibility & contrast

On white

9.10
#7E294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E294C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E294C#FFFFFF#000000##FFFFFF
##7E294C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4D
Deuteranopia (green-blind)
#504E4A
Tritanopia (blue-blind)
#882137
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e294c;
/* rgb */ color: rgb(126, 41, 76);
/* oklch */ color: oklch(41.9% 0.122 358.4);
Tailwind
colors: {
  custom: {
    50: '#a7697d',
    500: '#7e294c',
    950: '#000000',
  },
}
SCSS
$custom: #7e294c;
$custom-light: #a7697d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e294c",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 335.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.12224,
    "h": 358.4
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#7E294C
secondary
#55AE89
accent
#DAA04D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E294C

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

Preview Lab → · Contrast checker → · Palette generator →

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