#7E295F#7E295F

#7E295F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.132 H 345.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7E295F
RGBrgb(126, 41, 95)
HSLhsl(322, 51%, 33%)
HSVhsv(322, 67%, 49%)
CMYKcmyk(0%, 67.5%, 24.6%, 50.6%)
CIE-LABlab(31.46, 42.46, -12.83)
CIE-LCHlch(31.46, 44.36, 343.19°)
OKLaboklab(42.66% 0.128 -0.034)
OKLCHoklch(42.66% 0.132 345.1)
XYZxyz(11.4631, 6.8488, 11.5425)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E295F #297E48
analogous
#72297E #7E295F #7E2935
triadic
#7E295F #5F7E29 #295F7E
tetradic
#7E295F #7E7229 #297E48 #29357E
square
#7E295F #7E7229 #297E48 #29357E
split-complementary
#7E295F #357E29 #297E72
monochromatic
#220B19 #501A3C #7E295F #AC3882 #C959A0

Accessibility & contrast

On white

8.86
#7E295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E295F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E295F#FFFFFF#000000##FFFFFF
##7E295F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#4B4F5D
Tritanopia (blue-blind)
#862840
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e295f;
/* rgb */ color: rgb(126, 41, 95);
/* oklch */ color: oklch(42.7% 0.132 345.1);
Tailwind
colors: {
  custom: {
    50: '#a6698c',
    500: '#7e295f',
    950: '#000000',
  },
}
SCSS
$custom: #7e295f;
$custom-light: #a6698c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e295f",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 321.882,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.13242,
    "h": 345.1
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#7E295F
secondary
#55AE75
accent
#DA814D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E295F

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

Preview Lab → · Contrast checker → · Palette generator →

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