#7E4E71#7E4E71

#7E4E71 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.1% C 0.081 H 337.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E4E71
RGBrgb(126, 78, 113)
HSLhsl(316, 24%, 40%)
HSVhsv(316, 38%, 49%)
CMYKcmyk(0%, 38.1%, 10.3%, 50.6%)
CIE-LABlab(39.71, 25.86, -11.65)
CIE-LCHlch(39.71, 28.36, 335.75°)
OKLaboklab(49.05% 0.0748 -0.0311)
OKLCHoklch(49.05% 0.081 337.4)
XYZxyz(14.3092, 11.0774, 17.0040)
Luminance0.1108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E71 #4E7E5B
analogous
#734E7E #7E4E71 #7E4E59
triadic
#7E4E71 #717E4E #4E717E
tetradic
#7E4E71 #7E734E #4E7E5B #4E597E
square
#7E4E71 #7E734E #4E7E5B #4E597E
split-complementary
#7E4E71 #597E4E #4E7E73
monochromatic
#321F2D #58374F #7E4E71 #A16892 #B98EAD

Accessibility & contrast

On white

6.53
#7E4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7E4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E71
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E71#FFFFFF#000000##FFFFFF
##7E4E711.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5972
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#834F5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4e71;
/* rgb */ color: rgb(126, 78, 113);
/* oklch */ color: oklch(49.1% 0.081 337.4);
Tailwind
colors: {
  custom: {
    50: '#a48099',
    500: '#7e4e71',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e71;
$custom-light: #a48099;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e71",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 316.25,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.08105,
    "h": 337.4
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#7E4E71
secondary
#82A68C
accent
#C08068
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #7E4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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