#7E294E#7E294E

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

Color values

HEX#7E294E
RGBrgb(126, 41, 78)
HSLhsl(334, 51%, 33%)
HSVhsv(334, 67%, 49%)
CMYKcmyk(0%, 67.5%, 38.1%, 50.6%)
CIE-LABlab(30.81, 40.19, -2.73)
CIE-LCHlch(30.81, 40.28, 356.11°)
OKLaboklab(41.97% 0.1229 -0.0067)
OKLCHoklch(41.97% 0.123 356.9)
XYZxyz(10.7729, 6.5728, 7.9076)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E294E #297E59
analogous
#7E2978 #7E294E #7E2E29
triadic
#7E294E #4E7E29 #294E7E
tetradic
#7E294E #787E29 #297E59 #2E297E
square
#7E294E #787E29 #297E59 #2E297E
split-complementary
#7E294E #297E2E #29787E
monochromatic
#220B15 #501A31 #7E294E #AC386B #C95989

Accessibility & contrast

On white

9.07
#7E294E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E294E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E294E#FFFFFF#000000##FFFFFF
##7E294E1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#882138
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e294e;
/* rgb */ color: rgb(126, 41, 78);
/* oklch */ color: oklch(42.0% 0.123 356.9);
Tailwind
colors: {
  custom: {
    50: '#a7697f',
    500: '#7e294e',
    950: '#000000',
  },
}
SCSS
$custom: #7e294e;
$custom-light: #a7697f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e294e",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 333.882,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.12307,
    "h": 356.9
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#7E294E
secondary
#55AE87
accent
#DA9D4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E294E

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

Preview Lab → · Contrast checker → · Palette generator →

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