#7C4071#7C4071

#7C4071 is a mid, moderate pink. Relative luminance 0.091; OKLCH L 46.4% C 0.106 H 334.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7C4071
RGBrgb(124, 64, 113)
HSLhsl(311, 32%, 37%)
HSVhsv(311, 48%, 49%)
CMYKcmyk(0%, 48.4%, 8.9%, 51.4%)
CIE-LABlab(36.26, 33.18, -16.94)
CIE-LCHlch(36.26, 37.25, 332.96°)
OKLaboklab(46.4% 0.0955 -0.0458)
OKLCHoklch(46.4% 0.106 334.4)
XYZxyz(13.1262, 9.1449, 16.6934)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4071 #407C4B
analogous
#69407C #7C4071 #7C4053
triadic
#7C4071 #717C40 #40717C
tetradic
#7C4071 #7C6940 #407C4B #40537C
square
#7C4071 #7C6940 #407C4B #40537C
split-complementary
#7C4071 #537C40 #407C69
monochromatic
#2B1627 #542B4C #7C4071 #A45596 #BB7BAF

Accessibility & contrast

On white

7.42
#7C4071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C4071
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4071#FFFFFF#000000##FFFFFF
##7C40711.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#50596F
Tritanopia (blue-blind)
#814353
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c4071;
/* rgb */ color: rgb(124, 64, 113);
/* oklch */ color: oklch(46.4% 0.106 334.4);
Tailwind
colors: {
  custom: {
    50: '#a3779a',
    500: '#7c4071',
    950: '#000000',
  },
}
SCSS
$custom: #7c4071;
$custom-light: #a3779a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4071",
  "rgb": {
    "r": 124,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 311,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.464,
    "c": 0.10593,
    "h": 334.4
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#7C4071
secondary
#72A67C
accent
#C87360
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7C4071

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

Preview Lab → · Contrast checker → · Palette generator →

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