#7E294A#7E294A

#7E294A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.121 H 359.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7E294A
RGBrgb(126, 41, 74)
HSLhsl(337, 51%, 33%)
HSVhsv(337, 67%, 49%)
CMYKcmyk(0%, 67.5%, 41.3%, 50.6%)
CIE-LABlab(30.68, 39.71, -0.30)
CIE-LCHlch(30.68, 39.72, 359.57°)
OKLaboklab(41.83% 0.1215 -0.0003)
OKLCHoklch(41.83% 0.121 359.9)
XYZxyz(10.6338, 6.5172, 7.1752)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E294A #297E5D
analogous
#7E2974 #7E294A #7E3329
triadic
#7E294A #4A7E29 #294A7E
tetradic
#7E294A #747E29 #297E5D #33297E
square
#7E294A #747E29 #297E5D #33297E
split-complementary
#7E294A #297E33 #29747E
monochromatic
#220B14 #501A2F #7E294A #AC3865 #C95984

Accessibility & contrast

On white

9.12
#7E294A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E294A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E294A
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E294A#FFFFFF#000000##FFFFFF
##7E294A1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4B
Deuteranopia (green-blind)
#504E48
Tritanopia (blue-blind)
#882036
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e294a;
/* rgb */ color: rgb(126, 41, 74);
/* oklch */ color: oklch(41.8% 0.121 359.9);
Tailwind
colors: {
  custom: {
    50: '#a7687c',
    500: '#7e294a',
    950: '#000000',
  },
}
SCSS
$custom: #7e294a;
$custom-light: #a7687c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e294a",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 74
  },
  "hsl": {
    "h": 336.706,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.12147,
    "h": 359.9
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#7E294A
secondary
#55AE8B
accent
#DAA44D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E294A

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

Preview Lab → · Contrast checker → · Palette generator →

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