#7E396B#7E396B

#7E396B is a mid, moderate pink. Relative luminance 0.084; OKLCH L 45.3% C 0.115 H 339.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7E396B
RGBrgb(126, 57, 107)
HSLhsl(317, 38%, 36%)
HSVhsv(317, 55%, 49%)
CMYKcmyk(0%, 54.8%, 15.1%, 50.6%)
CIE-LABlab(34.85, 36.57, -15.30)
CIE-LCHlch(34.85, 39.65, 337.29°)
OKLaboklab(45.33% 0.1075 -0.0411)
OKLCHoklch(45.33% 0.115 339.1)
XYZxyz(12.7213, 8.4244, 14.8631)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E396B #397E4C
analogous
#6E397E #7E396B #7E3948
triadic
#7E396B #6B7E39 #396B7E
tetradic
#7E396B #7E6E39 #397E4C #39487E
square
#7E396B #7E6E39 #397E4C #39487E
split-complementary
#7E396B #487E39 #397E6E
monochromatic
#2A1323 #542647 #7E396B #A84C8F #BF72AA

Accessibility & contrast

On white

7.82
#7E396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E396B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E396B#FFFFFF#000000##FFFFFF
##7E396B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#4F5669
Tritanopia (blue-blind)
#843B4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e396b;
/* rgb */ color: rgb(126, 57, 107);
/* oklch */ color: oklch(45.3% 0.115 339.1);
Tailwind
colors: {
  custom: {
    50: '#a57295',
    500: '#7e396b',
    950: '#000000',
  },
}
SCSS
$custom: #7e396b;
$custom-light: #a57295;
$custom-dark: #000000;
JSON
{
  "hex": "#7e396b",
  "rgb": {
    "r": 126,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 316.522,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.11511,
    "h": 339.1
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#7E396B
secondary
#6AA87B
accent
#CE7A5A
background
#FAF7F9
surface
#F4EDF1
border
#CEC8CB
text
#0F080D
muted
#7F7B7E

Preview Lab

Preview with #7E396B

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

Preview Lab → · Contrast checker → · Palette generator →

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