#7C4072#7C4072

#7C4072 is a mid, moderate pink. Relative luminance 0.092; OKLCH L 46.4% C 0.107 H 333.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7C4072
RGBrgb(124, 64, 114)
HSLhsl(310, 32%, 37%)
HSVhsv(310, 48%, 49%)
CMYKcmyk(0%, 48.4%, 8.1%, 51.4%)
CIE-LABlab(36.30, 33.36, -17.50)
CIE-LCHlch(36.30, 37.67, 332.33°)
OKLaboklab(46.45% 0.0958 -0.0474)
OKLCHoklch(46.45% 0.107 333.7)
XYZxyz(13.1828, 9.1676, 16.9915)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4072 #407C4A
analogous
#68407C #7C4072 #7C4054
triadic
#7C4072 #727C40 #40727C
tetradic
#7C4072 #7C6840 #407C4A #40547C
square
#7C4072 #7C6840 #407C4A #40547C
split-complementary
#7C4072 #547C40 #407C68
monochromatic
#2B1628 #542B4D #7C4072 #A45597 #BB7BB0

Accessibility & contrast

On white

7.41
#7C4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7C4072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C4072
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4072#FFFFFF#000000##FFFFFF
##7C40721.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#505970
Tritanopia (blue-blind)
#814353
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c4072;
/* rgb */ color: rgb(124, 64, 114);
/* oklch */ color: oklch(46.4% 0.107 333.7);
Tailwind
colors: {
  custom: {
    50: '#a3779a',
    500: '#7c4072',
    950: '#000000',
  },
}
SCSS
$custom: #7c4072;
$custom-light: #a3779a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4072",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 310,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.10684,
    "h": 333.7
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#7C4072
secondary
#72A67B
accent
#C87160
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7C4072

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

Preview Lab → · Contrast checker → · Palette generator →

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