#7E4B73#7E4B73

#7E4B73 is a mid, moderate pink. Relative luminance 0.107; OKLCH L 48.6% C 0.089 H 335.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7E4B73
RGBrgb(126, 75, 115)
HSLhsl(313, 25%, 39%)
HSVhsv(313, 40%, 49%)
CMYKcmyk(0%, 40.5%, 8.7%, 50.6%)
CIE-LABlab(39.08, 27.98, -13.84)
CIE-LCHlch(39.08, 31.22, 333.68°)
OKLaboklab(48.6% 0.0805 -0.0372)
OKLCHoklch(48.6% 0.089 335.2)
XYZxyz(14.2147, 10.7063, 17.5341)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4B73 #4B7E56
analogous
#704B7E #7E4B73 #7E4B5A
triadic
#7E4B73 #737E4B #4B737E
tetradic
#7E4B73 #7E704B #4B7E56 #4B5A7E
square
#7E4B73 #7E704B #4B7E56 #4B5A7E
split-complementary
#7E4B73 #5A7E4B #4B7E70
monochromatic
#311D2D #583450 #7E4B73 #A36495 #B98AAF

Accessibility & contrast

On white

6.69
#7E4B73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7E4B73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4B73
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4B73#FFFFFF#000000##FFFFFF
##7E4B731.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5774
Deuteranopia (green-blind)
#585F71
Tritanopia (blue-blind)
#834D5A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e4b73;
/* rgb */ color: rgb(126, 75, 115);
/* oklch */ color: oklch(48.6% 0.089 335.2);
Tailwind
colors: {
  custom: {
    50: '#a47e9b',
    500: '#7e4b73',
    950: '#000000',
  },
}
SCSS
$custom: #7e4b73;
$custom-light: #a47e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4b73",
  "rgb": {
    "r": 126,
    "g": 75,
    "b": 115
  },
  "hsl": {
    "h": 312.941,
    "s": 25.373,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.08867,
    "h": 335.2
  },
  "luminance": 0.10706
}

Semantic roles & 50–950 ramp

primary
#7E4B73
secondary
#7FA687
accent
#C27A66
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4B73

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

Preview Lab → · Contrast checker → · Palette generator →

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