#7E396E#7E396E

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

Color values

HEX#7E396E
RGBrgb(126, 57, 110)
HSLhsl(314, 38%, 36%)
HSVhsv(314, 55%, 49%)
CMYKcmyk(0%, 54.8%, 12.7%, 50.6%)
CIE-LABlab(34.98, 37.09, -17.00)
CIE-LCHlch(34.98, 40.80, 335.38°)
OKLaboklab(45.47% 0.1083 -0.0459)
OKLCHoklch(45.47% 0.118 337)
XYZxyz(12.8819, 8.4886, 15.7088)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E396E #397E49
analogous
#6B397E #7E396E #7E394B
triadic
#7E396E #6E7E39 #396E7E
tetradic
#7E396E #7E6B39 #397E49 #394B7E
square
#7E396E #7E6B39 #397E49 #394B7E
split-complementary
#7E396E #4B7E39 #397E6B
monochromatic
#2A1324 #542649 #7E396E #A84C93 #BF72AD

Accessibility & contrast

On white

7.78
#7E396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E396E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E396E#FFFFFF#000000##FFFFFF
##7E396E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C70
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#843C4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e396e;
/* rgb */ color: rgb(126, 57, 110);
/* oklch */ color: oklch(45.5% 0.118 337.0);
Tailwind
colors: {
  custom: {
    50: '#a57397',
    500: '#7e396e',
    950: '#000000',
  },
}
SCSS
$custom: #7e396e;
$custom-light: #a57397;
$custom-dark: #000000;
JSON
{
  "hex": "#7e396e",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 313.913,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.11758,
    "h": 337
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#7E396E
secondary
#6AA879
accent
#CE755A
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080D
muted
#7F7B7E

Preview Lab

Preview with #7E396E

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

Preview Lab → · Contrast checker → · Palette generator →

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