#7C396E#7C396E

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

Color values

HEX#7C396E
RGBrgb(124, 57, 110)
HSLhsl(313, 37%, 35%)
HSVhsv(313, 54%, 49%)
CMYKcmyk(0%, 54%, 11.3%, 51.4%)
CIE-LABlab(34.68, 36.44, -17.49)
CIE-LCHlch(34.68, 40.42, 334.36°)
OKLaboklab(45.18% 0.1059 -0.0473)
OKLCHoklch(45.18% 0.116 335.9)
XYZxyz(12.5898, 8.3380, 15.6951)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C396E #397C47
analogous
#68397C #7C396E #7C394C
triadic
#7C396E #6E7C39 #396E7C
tetradic
#7C396E #7C6839 #397C47 #394C7C
square
#7C396E #7C6839 #397C47 #394C7C
split-complementary
#7C396E #4C7C39 #397C68
monochromatic
#281224 #522649 #7C396E #A64C93 #BE71AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C396E#FFFFFF#000000##FFFFFF
##7C396E1.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)
#3A4B70
Deuteranopia (green-blind)
#4D556C
Tritanopia (blue-blind)
#823C4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c396e;
/* rgb */ color: rgb(124, 57, 110);
/* oklch */ color: oklch(45.2% 0.116 335.9);
Tailwind
colors: {
  custom: {
    50: '#a47297',
    500: '#7c396e',
    950: '#000000',
  },
}
SCSS
$custom: #7c396e;
$custom-light: #a47297;
$custom-dark: #000000;
JSON
{
  "hex": "#7c396e",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 312.537,
    "s": 37.017,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.11594,
    "h": 335.9
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#7C396E
secondary
#6AA777
accent
#CD735B
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080D
muted
#7F7B7E

Preview Lab

Preview with #7C396E

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

Preview Lab → · Contrast checker → · Palette generator →

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