#7E295B#7E295B

#7E295B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.130 H 347.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7E295B
RGBrgb(126, 41, 91)
HSLhsl(325, 51%, 33%)
HSVhsv(325, 67%, 49%)
CMYKcmyk(0%, 67.5%, 27.8%, 50.6%)
CIE-LABlab(31.30, 41.89, -10.49)
CIE-LCHlch(31.30, 43.19, 345.95°)
OKLaboklab(42.48% 0.1269 -0.0276)
OKLCHoklch(42.48% 0.13 347.7)
XYZxyz(11.2859, 6.7780, 10.6094)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E295B #297E4C
analogous
#76297E #7E295B #7E2930
triadic
#7E295B #5B7E29 #295B7E
tetradic
#7E295B #7E7629 #297E4C #29307E
square
#7E295B #7E7629 #297E4C #29307E
split-complementary
#7E295B #307E29 #297E76
monochromatic
#220B18 #501A3A #7E295B #AC387C #C9599B

Accessibility & contrast

On white

8.92
#7E295B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E295B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E295B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E295B#FFFFFF#000000##FFFFFF
##7E295B1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405C
Deuteranopia (green-blind)
#4C4F59
Tritanopia (blue-blind)
#87263E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e295b;
/* rgb */ color: rgb(126, 41, 91);
/* oklch */ color: oklch(42.5% 0.130 347.7);
Tailwind
colors: {
  custom: {
    50: '#a66989',
    500: '#7e295b',
    950: '#000000',
  },
}
SCSS
$custom: #7e295b;
$custom-light: #a66989;
$custom-dark: #000000;
JSON
{
  "hex": "#7e295b",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 324.706,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.12989,
    "h": 347.7
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#7E295B
secondary
#55AE7A
accent
#DA874D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E295B

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

Preview Lab → · Contrast checker → · Palette generator →

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