#7D5166#7D5166

#7D5166 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.1% C 0.066 H 349.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7D5166
RGBrgb(125, 81, 102)
HSLhsl(331, 21%, 40%)
HSVhsv(331, 35%, 49%)
CMYKcmyk(0%, 35.2%, 18.4%, 51%)
CIE-LABlab(39.92, 21.73, -4.53)
CIE-LCHlch(39.92, 22.20, 348.21°)
OKLaboklab(49.06% 0.0646 -0.0118)
OKLCHoklch(49.06% 0.066 349.7)
XYZxyz(13.7983, 11.2049, 14.0038)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5166 #517D68
analogous
#7D517C #7D5166 #7D5251
triadic
#7D5166 #667D51 #51667D
tetradic
#7D5166 #7C7D51 #517D68 #52517D
square
#7D5166 #7C7D51 #517D68 #52517D
split-complementary
#7D5166 #517D52 #517C7D
monochromatic
#332129 #583948 #7D5166 #A06C84 #B891A3

Accessibility & contrast

On white

6.48
#7D5166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7D5166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5166
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5166#FFFFFF#000000##FFFFFF
##7D51661.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555A67
Deuteranopia (green-blind)
#606165
Tritanopia (blue-blind)
#835058
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d5166;
/* rgb */ color: rgb(125, 81, 102);
/* oklch */ color: oklch(49.1% 0.066 349.7);
Tailwind
colors: {
  custom: {
    50: '#a38291',
    500: '#7d5166',
    950: '#000000',
  },
}
SCSS
$custom: #7d5166;
$custom-light: #a38291;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5166",
  "rgb": {
    "r": 125,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 331.364,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.06564,
    "h": 349.7
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#7D5166
secondary
#85A596
accent
#BE966A
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7D5166

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

Preview Lab → · Contrast checker → · Palette generator →

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