#7C5166#7C5166

#7C5166 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 48.9% C 0.065 H 349.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C5166
RGBrgb(124, 81, 102)
HSLhsl(331, 21%, 40%)
HSVhsv(331, 35%, 49%)
CMYKcmyk(0%, 34.7%, 17.7%, 51.4%)
CIE-LABlab(39.80, 21.35, -4.73)
CIE-LCHlch(39.80, 21.87, 347.50°)
OKLaboklab(48.93% 0.0633 -0.0123)
OKLCHoklch(48.93% 0.065 349)
XYZxyz(13.6530, 11.1300, 13.9970)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5166 #517C67
analogous
#7C517B #7C5166 #7C5151
triadic
#7C5166 #667C51 #51667C
tetradic
#7C5166 #7B7C51 #517C67 #51517C
square
#7C5166 #7B7C51 #517C67 #51517C
split-complementary
#7C5166 #517C51 #517B7C
monochromatic
#322129 #573948 #7C5166 #9F6C85 #B791A3

Accessibility & contrast

On white

6.51
#7C5166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7C5166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5166
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5166#FFFFFF#000000##FFFFFF
##7C51661.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555967
Deuteranopia (green-blind)
#5F6065
Tritanopia (blue-blind)
#825058
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c5166;
/* rgb */ color: rgb(124, 81, 102);
/* oklch */ color: oklch(48.9% 0.065 349.0);
Tailwind
colors: {
  custom: {
    50: '#a38291',
    500: '#7c5166',
    950: '#000000',
  },
}
SCSS
$custom: #7c5166;
$custom-light: #a38291;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5166",
  "rgb": {
    "r": 124,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 330.698,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.06453,
    "h": 349
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#7C5166
secondary
#85A495
accent
#BE956A
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7C5166

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

Preview Lab → · Contrast checker → · Palette generator →

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