#7C5162#7C5162

#7C5162 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 48.8% C 0.062 H 354.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7C5162
RGBrgb(124, 81, 98)
HSLhsl(336, 21%, 40%)
HSVhsv(336, 35%, 49%)
CMYKcmyk(0%, 34.7%, 21%, 51.4%)
CIE-LABlab(39.67, 20.66, -2.44)
CIE-LCHlch(39.67, 20.81, 353.25°)
OKLaboklab(48.79% 0.0618 -0.0062)
OKLCHoklch(48.79% 0.062 354.3)
XYZxyz(13.4594, 11.0526, 12.9773)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5162 #517C6B
analogous
#7C5178 #7C5162 #7C5551
triadic
#7C5162 #627C51 #51627C
tetradic
#7C5162 #787C51 #517C6B #55517C
square
#7C5162 #787C51 #517C6B #55517C
split-complementary
#7C5162 #517C55 #51787C
monochromatic
#322127 #573945 #7C5162 #9F6C80 #B791A0

Accessibility & contrast

On white

6.54
#7C5162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7C5162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5162
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5162#FFFFFF#000000##FFFFFF
##7C51621.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565963
Deuteranopia (green-blind)
#606061
Tritanopia (blue-blind)
#824F57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c5162;
/* rgb */ color: rgb(124, 81, 98);
/* oklch */ color: oklch(48.8% 0.062 354.3);
Tailwind
colors: {
  custom: {
    50: '#a3828e',
    500: '#7c5162',
    950: '#000000',
  },
}
SCSS
$custom: #7c5162;
$custom-light: #a3828e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5162",
  "rgb": {
    "r": 124,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 336.279,
    "s": 20.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.06212,
    "h": 354.3
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#7C5162
secondary
#85A498
accent
#BE9D6A
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7C5162

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

Preview Lab → · Contrast checker → · Palette generator →

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