#7E4962#7E4962

#7E4962 is a mid, moderate pink. Relative luminance 0.101; OKLCH L 47.6% C 0.079 H 350.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7E4962
RGBrgb(126, 73, 98)
HSLhsl(332, 27%, 39%)
HSVhsv(332, 42%, 49%)
CMYKcmyk(0%, 42.1%, 22.2%, 50.6%)
CIE-LABlab(37.99, 26.15, -4.90)
CIE-LCHlch(37.99, 26.61, 349.39°)
OKLaboklab(47.57% 0.0782 -0.0127)
OKLCHoklch(47.57% 0.079 350.8)
XYZxyz(13.1916, 10.0834, 12.8044)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4962 #497E65
analogous
#7E497D #7E4962 #7E4B49
triadic
#7E4962 #627E49 #49627E
tetradic
#7E4962 #7D7E49 #497E65 #4B497E
square
#7E4962 #7D7E49 #497E65 #4B497E
split-complementary
#7E4962 #497E4B #497D7E
monochromatic
#311C26 #573344 #7E4962 #A36180 #BA889F

Accessibility & contrast

On white

6.96
#7E4962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7E4962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4962
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4962#FFFFFF#000000##FFFFFF
##7E49621.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#5C5D61
Tritanopia (blue-blind)
#854752
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e4962;
/* rgb */ color: rgb(126, 73, 98);
/* oklch */ color: oklch(47.6% 0.079 350.8);
Tailwind
colors: {
  custom: {
    50: '#a57d8e',
    500: '#7e4962',
    950: '#000000',
  },
}
SCSS
$custom: #7e4962;
$custom-light: #a57d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4962",
  "rgb": {
    "r": 126,
    "g": 73,
    "b": 98
  },
  "hsl": {
    "h": 331.698,
    "s": 26.633,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.07926,
    "h": 350.8
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#7E4962
secondary
#7DA693
accent
#C39765
background
#FAF7F8
surface
#F4EEF0
border
#CEC9CB
text
#0F090C
muted
#7F7B7D

Preview Lab

Preview with #7E4962

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

Preview Lab → · Contrast checker → · Palette generator →

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