#7D5161#7D5161

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

Color values

HEX#7D5161
RGBrgb(125, 81, 97)
HSLhsl(338, 21%, 40%)
HSVhsv(338, 35%, 49%)
CMYKcmyk(0%, 35.2%, 22.4%, 51%)
CIE-LABlab(39.76, 20.89, -1.67)
CIE-LCHlch(39.76, 20.96, 355.43°)
OKLaboklab(48.88% 0.0627 -0.0041)
OKLCHoklch(48.88% 0.063 356.2)
XYZxyz(13.5578, 11.1087, 12.7370)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5161 #517D6D
analogous
#7D5177 #7D5161 #7D5751
triadic
#7D5161 #617D51 #51617D
tetradic
#7D5161 #777D51 #517D6D #57517D
square
#7D5161 #777D51 #517D6D #57517D
split-complementary
#7D5161 #517D57 #51777D
monochromatic
#332127 #583944 #7D5161 #A06C7F #B8919F

Accessibility & contrast

On white

6.52
#7D5161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D5161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5161
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5161#FFFFFF#000000##FFFFFF
##7D51611.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565962
Deuteranopia (green-blind)
#616160
Tritanopia (blue-blind)
#844F57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d5161;
/* rgb */ color: rgb(125, 81, 97);
/* oklch */ color: oklch(48.9% 0.063 356.2);
Tailwind
colors: {
  custom: {
    50: '#a3828d',
    500: '#7d5161',
    950: '#000000',
  },
}
SCSS
$custom: #7d5161;
$custom-light: #a3828d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5161",
  "rgb": {
    "r": 125,
    "g": 81,
    "b": 97
  },
  "hsl": {
    "h": 338.182,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.0628,
    "h": 356.2
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#7D5161
secondary
#85A599
accent
#BE9F6A
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7D5161

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

Preview Lab → · Contrast checker → · Palette generator →

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