#7E5A6E#7E5A6E

#7E5A6E is a mid, muted pink. Relative luminance 0.129; OKLCH L 51.2% C 0.055 H 344.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7E5A6E
RGBrgb(126, 90, 110)
HSLhsl(327, 17%, 42%)
HSVhsv(327, 29%, 49%)
CMYKcmyk(0%, 28.6%, 12.7%, 50.6%)
CIE-LABlab(42.57, 18.18, -5.51)
CIE-LCHlch(42.57, 18.99, 343.14°)
OKLaboklab(51.2% 0.0533 -0.0145)
OKLCHoklch(51.2% 0.055 344.8)
XYZxyz(15.0748, 12.8744, 16.4398)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5A6E #5A7E6A
analogous
#7C5A7E #7E5A6E #7E5A5C
triadic
#7E5A6E #6E7E5A #5A6E7E
tetradic
#7E5A6E #7E7C5A #5A7E6A #5A5C7E
square
#7E5A6E #7E7C5A #5A7E6A #5A5C7E
split-complementary
#7E5A6E #5C7E5A #5A7E7C
monochromatic
#372730 #5A404F #7E5A6E #9E778D #B89BAB

Accessibility & contrast

On white

5.87
#7E5A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E5A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5A6E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5A6E#FFFFFF#000000##FFFFFF
##7E5A6E1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C616F
Deuteranopia (green-blind)
#65676D
Tritanopia (blue-blind)
#835A61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e5a6e;
/* rgb */ color: rgb(126, 90, 110);
/* oklch */ color: oklch(51.2% 0.055 344.8);
Tailwind
colors: {
  custom: {
    50: '#a48997',
    500: '#7e5a6e',
    950: '#000000',
  },
}
SCSS
$custom: #7e5a6e;
$custom-light: #a48997;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5a6e",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 110
  },
  "hsl": {
    "h": 326.667,
    "s": 16.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.512,
    "c": 0.05519,
    "h": 344.8
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#7E5A6E
secondary
#8EA699
accent
#B9906E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#0F0B0D
muted
#7F7C7E

Preview Lab

Preview with #7E5A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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