#7E295D#7E295D

#7E295D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.131 H 346.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#7E295D
RGBrgb(126, 41, 93)
HSLhsl(323, 51%, 33%)
HSVhsv(323, 67%, 49%)
CMYKcmyk(0%, 67.5%, 26.2%, 50.6%)
CIE-LABlab(31.38, 42.18, -11.66)
CIE-LCHlch(31.38, 43.76, 344.55°)
OKLaboklab(42.57% 0.1275 -0.0308)
OKLCHoklch(42.57% 0.131 346.4)
XYZxyz(11.3733, 6.8130, 11.0699)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E295D #297E4A
analogous
#74297E #7E295D #7E2933
triadic
#7E295D #5D7E29 #295D7E
tetradic
#7E295D #7E7429 #297E4A #29337E
square
#7E295D #7E7429 #297E4A #29337E
split-complementary
#7E295D #337E29 #297E74
monochromatic
#220B19 #501A3B #7E295D #AC387F #C9599D

Accessibility & contrast

On white

8.89
#7E295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E295D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E295D#FFFFFF#000000##FFFFFF
##7E295D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#87273F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e295d;
/* rgb */ color: rgb(126, 41, 93);
/* oklch */ color: oklch(42.6% 0.131 346.4);
Tailwind
colors: {
  custom: {
    50: '#a6698b',
    500: '#7e295d',
    950: '#000000',
  },
}
SCSS
$custom: #7e295d;
$custom-light: #a6698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e295d",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 323.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.13114,
    "h": 346.4
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#7E295D
secondary
#55AE77
accent
#DA844D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E295D

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

Preview Lab → · Contrast checker → · Palette generator →

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