#7E294F#7E294F

#7E294F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.124 H 356.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7E294F
RGBrgb(126, 41, 79)
HSLhsl(333, 51%, 33%)
HSVhsv(333, 67%, 49%)
CMYKcmyk(0%, 67.5%, 37.3%, 50.6%)
CIE-LABlab(30.85, 40.31, -3.33)
CIE-LCHlch(30.85, 40.45, 355.27°)
OKLaboklab(42.01% 0.1232 -0.0083)
OKLCHoklch(42.01% 0.124 356.2)
XYZxyz(10.8090, 6.5872, 8.0979)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E294F #297E58
analogous
#7E297A #7E294F #7E2D29
triadic
#7E294F #4F7E29 #294F7E
tetradic
#7E294F #7A7E29 #297E58 #2D297E
square
#7E294F #7A7E29 #297E58 #2D297E
split-complementary
#7E294F #297E2D #297A7E
monochromatic
#220B15 #501A32 #7E294F #AC386C #C9598B

Accessibility & contrast

On white

9.06
#7E294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E294F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E294F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E294F#FFFFFF#000000##FFFFFF
##7E294F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F50
Deuteranopia (green-blind)
#4F4E4D
Tritanopia (blue-blind)
#882238
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e294f;
/* rgb */ color: rgb(126, 41, 79);
/* oklch */ color: oklch(42.0% 0.124 356.2);
Tailwind
colors: {
  custom: {
    50: '#a76980',
    500: '#7e294f',
    950: '#000000',
  },
}
SCSS
$custom: #7e294f;
$custom-light: #a76980;
$custom-dark: #000000;
JSON
{
  "hex": "#7e294f",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 333.176,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42005,
    "c": 0.12352,
    "h": 356.2
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#7E294F
secondary
#55AE86
accent
#DA9B4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E294F

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

Preview Lab → · Contrast checker → · Palette generator →

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