#7E396F#7E396F

#7E396F is a mid, moderate pink. Relative luminance 0.085; OKLCH L 45.5% C 0.118 H 336.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7E396F
RGBrgb(126, 57, 111)
HSLhsl(313, 38%, 36%)
HSVhsv(313, 55%, 49%)
CMYKcmyk(0%, 54.8%, 11.9%, 50.6%)
CIE-LABlab(35.02, 37.26, -17.56)
CIE-LCHlch(35.02, 41.19, 334.77°)
OKLaboklab(45.51% 0.1085 -0.0474)
OKLCHoklch(45.51% 0.118 336.4)
XYZxyz(12.9366, 8.5105, 15.9972)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E396F #397E48
analogous
#6A397E #7E396F #7E394C
triadic
#7E396F #6F7E39 #396F7E
tetradic
#7E396F #7E6A39 #397E48 #394C7E
square
#7E396F #7E6A39 #397E48 #394C7E
split-complementary
#7E396F #4C7E39 #397E6A
monochromatic
#2A1325 #54264A #7E396F #A84C94 #BF72AF

Accessibility & contrast

On white

7.77
#7E396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7E396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E396F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E396F#FFFFFF#000000##FFFFFF
##7E396F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#843C4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e396f;
/* rgb */ color: rgb(126, 57, 111);
/* oklch */ color: oklch(45.5% 0.118 336.4);
Tailwind
colors: {
  custom: {
    50: '#a57398',
    500: '#7e396f',
    950: '#000000',
  },
}
SCSS
$custom: #7e396f;
$custom-light: #a57398;
$custom-dark: #000000;
JSON
{
  "hex": "#7e396f",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 313.043,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.11841,
    "h": 336.4
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#7E396F
secondary
#6AA878
accent
#CE735A
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080D
muted
#7F7B7E

Preview Lab

Preview with #7E396F

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

Preview Lab → · Contrast checker → · Palette generator →

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