#7E4768#7E4768

#7E4768 is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.4% C 0.087 H 344.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7E4768
RGBrgb(126, 71, 104)
HSLhsl(324, 28%, 39%)
HSVhsv(324, 44%, 49%)
CMYKcmyk(0%, 43.7%, 17.5%, 50.6%)
CIE-LABlab(37.74, 28.31, -9.03)
CIE-LCHlch(37.74, 29.72, 342.31°)
OKLaboklab(47.45% 0.0838 -0.0239)
OKLCHoklch(47.45% 0.087 344.1)
XYZxyz(13.3563, 9.9424, 14.3096)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4768 #477E5D
analogous
#78477E #7E4768 #7E474C
triadic
#7E4768 #687E47 #47687E
tetradic
#7E4768 #7E7847 #477E5D #474C7E
square
#7E4768 #7E7847 #477E5D #474C7E
split-complementary
#7E4768 #4C7E47 #477E78
monochromatic
#301B27 #573148 #7E4768 #A45E88 #BA85A5

Accessibility & contrast

On white

7.03
#7E4768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7E4768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4768
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4768#FFFFFF#000000##FFFFFF
##7E47681.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5369
Deuteranopia (green-blind)
#595C67
Tritanopia (blue-blind)
#844753
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e4768;
/* rgb */ color: rgb(126, 71, 104);
/* oklch */ color: oklch(47.4% 0.087 344.1);
Tailwind
colors: {
  custom: {
    50: '#a57b93',
    500: '#7e4768',
    950: '#000000',
  },
}
SCSS
$custom: #7e4768;
$custom-light: #a57b93;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4768",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 104
  },
  "hsl": {
    "h": 324,
    "s": 27.919,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.08709,
    "h": 344.1
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#7E4768
secondary
#7BA68C
accent
#C48A64
background
#FAF7F9
surface
#F4EEF1
border
#CEC9CB
text
#0F090D
muted
#7F7B7E

Preview Lab

Preview with #7E4768

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

Preview Lab → · Contrast checker → · Palette generator →

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