#7E4A5A#7E4A5A

#7E4A5A is a mid, moderate pink. Relative luminance 0.101; OKLCH L 47.5% C 0.073 H 0.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7E4A5A
RGBrgb(126, 74, 90)
HSLhsl(342, 26%, 39%)
HSVhsv(342, 41%, 49%)
CMYKcmyk(0%, 41.3%, 28.6%, 50.6%)
CIE-LABlab(37.97, 24.31, 0.09)
CIE-LCHlch(37.97, 24.31, 0.21°)
OKLaboklab(47.47% 0.0735 0.0006)
OKLCHoklch(47.47% 0.073 0.4)
XYZxyz(12.8988, 10.0723, 10.9357)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4A5A #4A7E6E
analogous
#7E4A74 #7E4A5A #7E544A
triadic
#7E4A5A #5A7E4A #4A5A7E
tetradic
#7E4A5A #747E4A #4A7E6E #544A7E
square
#7E4A5A #747E4A #4A7E6E #544A7E
split-complementary
#7E4A5A #4A7E54 #4A747E
monochromatic
#311D23 #57333E #7E4A5A #A36276 #BA8998

Accessibility & contrast

On white

6.97
#7E4A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7E4A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4A5A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4A5A#FFFFFF#000000##FFFFFF
##7E4A5A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545B
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#864750
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e4a5a;
/* rgb */ color: rgb(126, 74, 90);
/* oklch */ color: oklch(47.5% 0.073 0.4);
Tailwind
colors: {
  custom: {
    50: '#a57d88',
    500: '#7e4a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7e4a5a;
$custom-light: #a57d88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4a5a",
  "rgb": {
    "r": 126,
    "g": 74,
    "b": 90
  },
  "hsl": {
    "h": 341.538,
    "s": 26,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47472,
    "c": 0.07345,
    "h": 0.4
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#7E4A5A
secondary
#7EA69A
accent
#C2A665
background
#FAF7F8
surface
#F4EEEF
border
#CEC9CA
text
#0F0A0B
muted
#7F7C7C

Preview Lab

Preview with #7E4A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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