#7D5172#7D5172

#7D5172 is a mid, moderate pink. Relative luminance 0.115; OKLCH L 49.5% C 0.075 H 336.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D5172
RGBrgb(125, 81, 114)
HSLhsl(315, 21%, 40%)
HSVhsv(315, 35%, 49%)
CMYKcmyk(0%, 35.2%, 8.8%, 51%)
CIE-LABlab(40.35, 23.91, -11.32)
CIE-LCHlch(40.35, 26.45, 334.67°)
OKLaboklab(49.52% 0.0688 -0.0303)
OKLCHoklch(49.52% 0.075 336.3)
XYZxyz(14.4370, 11.4604, 17.3680)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D5172 #517D5C
analogous
#72517D #7D5172 #7D515C
triadic
#7D5172 #727D51 #51727D
tetradic
#7D5172 #7D7251 #517D5C #515C7D
square
#7D5172 #7D7251 #517D5C #515C7D
split-complementary
#7D5172 #5C7D51 #517D72
monochromatic
#33212E #583950 #7D5172 #A06C93 #B891AE

Accessibility & contrast

On white

6.38
#7D5172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7D5172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D5172
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D5172#FFFFFF#000000##FFFFFF
##7D51721.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#5C6171
Tritanopia (blue-blind)
#81525D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d5172;
/* rgb */ color: rgb(125, 81, 114);
/* oklch */ color: oklch(49.5% 0.075 336.3);
Tailwind
colors: {
  custom: {
    50: '#a3829a',
    500: '#7d5172',
    950: '#000000',
  },
}
SCSS
$custom: #7d5172;
$custom-light: #a3829a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d5172",
  "rgb": {
    "r": 125,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 315,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49518,
    "c": 0.07518,
    "h": 336.3
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#7D5172
secondary
#85A58D
accent
#BE7F6A
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7D5172

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

Preview Lab → · Contrast checker → · Palette generator →

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