#7D396B#7D396B

#7D396B is a mid, moderate pink. Relative luminance 0.083; OKLCH L 45.2% C 0.114 H 338.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7D396B
RGBrgb(125, 57, 107)
HSLhsl(316, 37%, 36%)
HSVhsv(316, 54%, 49%)
CMYKcmyk(0%, 54.4%, 14.4%, 51%)
CIE-LABlab(34.70, 36.24, -15.55)
CIE-LCHlch(34.70, 39.44, 336.78°)
OKLaboklab(45.18% 0.1063 -0.0418)
OKLCHoklch(45.18% 0.114 338.5)
XYZxyz(12.5746, 8.3487, 14.8562)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D396B #397D4B
analogous
#6D397D #7D396B #7D3949
triadic
#7D396B #6B7D39 #396B7D
tetradic
#7D396B #7D6D39 #397D4B #39497D
square
#7D396B #7D6D39 #397D4B #39497D
split-complementary
#7D396B #497D39 #397D6D
monochromatic
#291323 #532647 #7D396B #A74C8F #BF72AA

Accessibility & contrast

On white

7.87
#7D396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D396B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D396B#FFFFFF#000000##FFFFFF
##7D396B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#4E5569
Tritanopia (blue-blind)
#833B4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d396b;
/* rgb */ color: rgb(125, 57, 107);
/* oklch */ color: oklch(45.2% 0.114 338.5);
Tailwind
colors: {
  custom: {
    50: '#a57295',
    500: '#7d396b',
    950: '#000000',
  },
}
SCSS
$custom: #7d396b;
$custom-light: #a57295;
$custom-dark: #000000;
JSON
{
  "hex": "#7d396b",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 315.882,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.11427,
    "h": 338.5
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#7D396B
secondary
#6AA87A
accent
#CD795A
background
#FAF7F9
surface
#F4EDF1
border
#CEC8CB
text
#0F080D
muted
#7F7B7E

Preview Lab

Preview with #7D396B

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

Preview Lab → · Contrast checker → · Palette generator →

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