#7E4160#7E4160

#7E4160 is a mid, moderate pink. Relative luminance 0.091; OKLCH L 46.1% C 0.093 H 349.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7E4160
RGBrgb(126, 65, 96)
HSLhsl(330, 32%, 37%)
HSVhsv(330, 48%, 49%)
CMYKcmyk(0%, 48.4%, 23.8%, 50.6%)
CIE-LABlab(36.10, 30.41, -6.45)
CIE-LCHlch(36.10, 31.08, 348.02°)
OKLaboklab(46.12% 0.0912 -0.0168)
OKLCHoklch(46.12% 0.093 349.6)
XYZxyz(12.6061, 9.0617, 12.1492)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4160 #417E5F
analogous
#7D417E #7E4160 #7E4142
triadic
#7E4160 #607E41 #41607E
tetradic
#7E4160 #7E7D41 #417E5F #41427E
square
#7E4160 #7E7D41 #417E5F #41427E
split-complementary
#7E4160 #427E41 #417E7D
monochromatic
#2D1722 #562C41 #7E4160 #A6567F #BC7D9D

Accessibility & contrast

On white

7.47
#7E4160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7E4160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E4160
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4160#FFFFFF#000000##FFFFFF
##7E41601.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E61
Deuteranopia (green-blind)
#57595E
Tritanopia (blue-blind)
#863F4C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e4160;
/* rgb */ color: rgb(126, 65, 96);
/* oklch */ color: oklch(46.1% 0.093 349.6);
Tailwind
colors: {
  custom: {
    50: '#a5778d',
    500: '#7e4160',
    950: '#000000',
  },
}
SCSS
$custom: #7e4160;
$custom-light: #a5778d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4160",
  "rgb": {
    "r": 126,
    "g": 65,
    "b": 96
  },
  "hsl": {
    "h": 329.508,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46122,
    "c": 0.09275,
    "h": 349.6
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#7E4160
secondary
#74A78D
accent
#C89360
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#0F090C
muted
#7F7B7D

Preview Lab

Preview with #7E4160

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

Preview Lab → · Contrast checker → · Palette generator →

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