#7E396D#7E396D

#7E396D is a mid, moderate pink. Relative luminance 0.085; OKLCH L 45.4% C 0.117 H 337.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7E396D
RGBrgb(126, 57, 109)
HSLhsl(315, 38%, 36%)
HSVhsv(315, 55%, 49%)
CMYKcmyk(0%, 54.8%, 13.5%, 50.6%)
CIE-LABlab(34.94, 36.92, -16.43)
CIE-LCHlch(34.94, 40.41, 336.00°)
OKLaboklab(45.42% 0.108 -0.0443)
OKLCHoklch(45.42% 0.117 337.7)
XYZxyz(12.8278, 8.4669, 15.4237)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E396D #397E4A
analogous
#6C397E #7E396D #7E394A
triadic
#7E396D #6D7E39 #396D7E
tetradic
#7E396D #7E6C39 #397E4A #394A7E
square
#7E396D #7E6C39 #397E4A #394A7E
split-complementary
#7E396D #4A7E39 #397E6C
monochromatic
#2A1324 #542649 #7E396D #A84C91 #BF72AC

Accessibility & contrast

On white

7.80
#7E396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7E396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E396D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E396D#FFFFFF#000000##FFFFFF
##7E396D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#843B4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e396d;
/* rgb */ color: rgb(126, 57, 109);
/* oklch */ color: oklch(45.4% 0.117 337.7);
Tailwind
colors: {
  custom: {
    50: '#a57397',
    500: '#7e396d',
    950: '#000000',
  },
}
SCSS
$custom: #7e396d;
$custom-light: #a57397;
$custom-dark: #000000;
JSON
{
  "hex": "#7e396d",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 314.783,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.11674,
    "h": 337.7
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#7E396D
secondary
#6AA87A
accent
#CE775A
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080D
muted
#7F7B7E

Preview Lab

Preview with #7E396D

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

Preview Lab → · Contrast checker → · Palette generator →

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