#7E4F71#7E4F71

#7E4F71 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.2% C 0.079 H 337.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7E4F71
RGBrgb(126, 79, 113)
HSLhsl(317, 23%, 40%)
HSVhsv(317, 37%, 49%)
CMYKcmyk(0%, 37.3%, 10.3%, 50.6%)
CIE-LABlab(39.95, 25.27, -11.29)
CIE-LCHlch(39.95, 27.68, 335.93°)
OKLaboklab(49.23% 0.0731 -0.0302)
OKLCHoklch(49.23% 0.079 337.6)
XYZxyz(14.3808, 11.2206, 17.0279)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4F71 #4F7E5C
analogous
#744F7E #7E4F71 #7E4F59
triadic
#7E4F71 #717E4F #4F717E
tetradic
#7E4F71 #7E744F #4F7E5C #4F597E
square
#7E4F71 #7E744F #4F7E5C #4F597E
split-complementary
#7E4F71 #597E4F #4F7E74
monochromatic
#33202E #58374F #7E4F71 #A16992 #B98FAD

Accessibility & contrast

On white

6.47
#7E4F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E4F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4F71
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4F71#FFFFFF#000000##FFFFFF
##7E4F711.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#5C6170
Tritanopia (blue-blind)
#83505B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4f71;
/* rgb */ color: rgb(126, 79, 113);
/* oklch */ color: oklch(49.2% 0.079 337.6);
Tailwind
colors: {
  custom: {
    50: '#a48199',
    500: '#7e4f71',
    950: '#000000',
  },
}
SCSS
$custom: #7e4f71;
$custom-light: #a48199;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4f71",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 316.596,
    "s": 22.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.07911,
    "h": 337.6
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#7E4F71
secondary
#83A68D
accent
#BF8068
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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