#7E4E62#7E4E62

#7E4E62 is a mid, moderate pink. Relative luminance 0.108; OKLCH L 48.5% C 0.070 H 353.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7E4E62
RGBrgb(126, 78, 98)
HSLhsl(335, 24%, 40%)
HSVhsv(335, 38%, 49%)
CMYKcmyk(0%, 38.1%, 22.2%, 50.6%)
CIE-LABlab(39.19, 23.22, -3.13)
CIE-LCHlch(39.19, 23.43, 352.33°)
OKLaboklab(48.48% 0.0696 -0.008)
OKLCHoklch(48.48% 0.07 353.5)
XYZxyz(13.5334, 10.7671, 12.9183)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4E62 #4E7E6A
analogous
#7E4E7A #7E4E62 #7E524E
triadic
#7E4E62 #627E4E #4E627E
tetradic
#7E4E62 #7A7E4E #4E7E6A #524E7E
square
#7E4E62 #7A7E4E #4E7E6A #524E7E
split-complementary
#7E4E62 #4E7E52 #4E7A7E
monochromatic
#321F27 #583745 #7E4E62 #A16880 #B98EA0

Accessibility & contrast

On white

6.66
#7E4E62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7E4E62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4E62
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4E62#FFFFFF#000000##FFFFFF
##7E4E621.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535763
Deuteranopia (green-blind)
#5F5F61
Tritanopia (blue-blind)
#854C55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e4e62;
/* rgb */ color: rgb(126, 78, 98);
/* oklch */ color: oklch(48.5% 0.070 353.5);
Tailwind
colors: {
  custom: {
    50: '#a4808e',
    500: '#7e4e62',
    950: '#000000',
  },
}
SCSS
$custom: #7e4e62;
$custom-light: #a4808e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4e62",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 98
  },
  "hsl": {
    "h": 335,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.07001,
    "h": 353.5
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#7E4E62
secondary
#82A697
accent
#C09B68
background
#FAF7F8
surface
#F4EEF0
border
#CEC9CB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7E4E62

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

Preview Lab → · Contrast checker → · Palette generator →

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