#7C406A#7C406A

#7C406A is a mid, moderate pink. Relative luminance 0.090; OKLCH L 46.1% C 0.100 H 339.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7C406A
RGBrgb(124, 64, 106)
HSLhsl(318, 32%, 37%)
HSVhsv(318, 48%, 49%)
CMYKcmyk(0%, 48.4%, 14.5%, 51.4%)
CIE-LABlab(35.97, 31.92, -12.99)
CIE-LCHlch(35.97, 34.46, 337.86°)
OKLaboklab(46.09% 0.0936 -0.0348)
OKLCHoklch(46.09% 0.1 339.6)
XYZxyz(12.7472, 8.9933, 14.6974)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C406A #407C52
analogous
#70407C #7C406A #7C404C
triadic
#7C406A #6A7C40 #406A7C
tetradic
#7C406A #7C7040 #407C52 #404C7C
square
#7C406A #7C7040 #407C52 #404C7C
split-complementary
#7C406A #4C7C40 #407C70
monochromatic
#2B1625 #542B47 #7C406A #A4558D #BB7BA8

Accessibility & contrast

On white

7.50
#7C406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7C406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C406A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C406A#FFFFFF#000000##FFFFFF
##7C406A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6B
Deuteranopia (green-blind)
#525868
Tritanopia (blue-blind)
#824150
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c406a;
/* rgb */ color: rgb(124, 64, 106);
/* oklch */ color: oklch(46.1% 0.100 339.6);
Tailwind
colors: {
  custom: {
    50: '#a37794',
    500: '#7c406a',
    950: '#000000',
  },
}
SCSS
$custom: #7c406a;
$custom-light: #a37794;
$custom-dark: #000000;
JSON
{
  "hex": "#7c406a",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 318,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.09987,
    "h": 339.6
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#7C406A
secondary
#72A682
accent
#C87F60
background
#FAF7F9
surface
#F4EDF1
border
#CEC8CB
text
#0F090D
muted
#7F7B7E

Preview Lab

Preview with #7C406A

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

Preview Lab → · Contrast checker → · Palette generator →

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