#7C4E71#7C4E71

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

Color values

HEX#7C4E71
RGBrgb(124, 78, 113)
HSLhsl(314, 23%, 40%)
HSVhsv(314, 37%, 49%)
CMYKcmyk(0%, 37.1%, 8.9%, 51.4%)
CIE-LABlab(39.46, 25.13, -12.06)
CIE-LCHlch(39.46, 27.87, 334.36°)
OKLaboklab(48.8% 0.0723 -0.0323)
OKLCHoklch(48.8% 0.079 335.9)
XYZxyz(14.0171, 10.9268, 16.9903)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4E71 #4E7C59
analogous
#704E7C #7C4E71 #7C4E5A
triadic
#7C4E71 #717C4E #4E717C
tetradic
#7C4E71 #7C704E #4E7C59 #4E5A7C
square
#7C4E71 #7C704E #4E7C59 #4E5A7C
split-complementary
#7C4E71 #5A7C4E #4E7C70
monochromatic
#311F2D #56364F #7C4E71 #A06792 #B78DAD

Accessibility & contrast

On white

6.59
#7C4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C4E71
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4E71#FFFFFF#000000##FFFFFF
##7C4E711.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5972
Deuteranopia (green-blind)
#5A5F70
Tritanopia (blue-blind)
#81505B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c4e71;
/* rgb */ color: rgb(124, 78, 113);
/* oklch */ color: oklch(48.8% 0.079 335.9);
Tailwind
colors: {
  custom: {
    50: '#a38099',
    500: '#7c4e71',
    950: '#000000',
  },
}
SCSS
$custom: #7c4e71;
$custom-light: #a38099;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4e71",
  "rgb": {
    "r": 124,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 314.348,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.07921,
    "h": 335.9
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#7C4E71
secondary
#82A48A
accent
#BF7D69
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7C4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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