#7C4E72#7C4E72

#7C4E72 is a mid, moderate pink. Relative luminance 0.109; OKLCH L 48.8% C 0.080 H 335.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7C4E72
RGBrgb(124, 78, 114)
HSLhsl(313, 23%, 40%)
HSVhsv(313, 37%, 49%)
CMYKcmyk(0%, 37.1%, 8.1%, 51.4%)
CIE-LABlab(39.50, 25.32, -12.62)
CIE-LCHlch(39.50, 28.29, 333.51°)
OKLaboklab(48.85% 0.0727 -0.0339)
OKLCHoklch(48.85% 0.08 335)
XYZxyz(14.0737, 10.9495, 17.2885)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E72 #4E7C58
analogous
#6F4E7C #7C4E72 #7C4E5B
triadic
#7C4E72 #727C4E #4E727C
tetradic
#7C4E72 #7C6F4E #4E7C58 #4E5B7C
square
#7C4E72 #7C6F4E #4E7C58 #4E5B7C
split-complementary
#7C4E72 #5B7C4E #4E7C6F
monochromatic
#311F2D #56364F #7C4E72 #A06793 #B78DAE

Accessibility & contrast

On white

6.58
#7C4E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7C4E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4E72
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E72#FFFFFF#000000##FFFFFF
##7C4E721.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5973
Deuteranopia (green-blind)
#5A5F71
Tritanopia (blue-blind)
#80505B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c4e72;
/* rgb */ color: rgb(124, 78, 114);
/* oklch */ color: oklch(48.8% 0.080 335.0);
Tailwind
colors: {
  custom: {
    50: '#a3809a',
    500: '#7c4e72',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e72;
$custom-light: #a3809a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e72",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 313.043,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.08015,
    "h": 335
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#7C4E72
secondary
#82A489
accent
#BF7B69
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7C4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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