#7E294B#7E294B

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

Color values

HEX#7E294B
RGBrgb(126, 41, 75)
HSLhsl(336, 51%, 33%)
HSVhsv(336, 67%, 49%)
CMYKcmyk(0%, 67.5%, 40.5%, 50.6%)
CIE-LABlab(30.71, 39.83, -0.91)
CIE-LCHlch(30.71, 39.84, 358.69°)
OKLaboklab(41.86% 0.1218 -0.0019)
OKLCHoklch(41.86% 0.122 359.1)
XYZxyz(10.6678, 6.5307, 7.3540)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E294B #297E5C
analogous
#7E2975 #7E294B #7E3129
triadic
#7E294B #4B7E29 #294B7E
tetradic
#7E294B #757E29 #297E5C #31297E
square
#7E294B #757E29 #297E5C #31297E
split-complementary
#7E294B #297E31 #29757E
monochromatic
#220B14 #501A30 #7E294B #AC3866 #C95985

Accessibility & contrast

On white

9.11
#7E294B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E294B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E294B#FFFFFF#000000##FFFFFF
##7E294B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#504E49
Tritanopia (blue-blind)
#882037
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e294b;
/* rgb */ color: rgb(126, 41, 75);
/* oklch */ color: oklch(41.9% 0.122 359.1);
Tailwind
colors: {
  custom: {
    50: '#a7687d',
    500: '#7e294b',
    950: '#000000',
  },
}
SCSS
$custom: #7e294b;
$custom-light: #a7687d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e294b",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 75
  },
  "hsl": {
    "h": 336,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.12184,
    "h": 359.1
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#7E294B
secondary
#55AE8A
accent
#DAA24D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E294B

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

Preview Lab → · Contrast checker → · Palette generator →

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