#7E5162#7E5162

#7E5162 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.0% C 0.065 H 355.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7E5162
RGBrgb(126, 81, 98)
HSLhsl(337, 22%, 41%)
HSVhsv(337, 36%, 49%)
CMYKcmyk(0%, 35.7%, 22.2%, 50.6%)
CIE-LABlab(39.92, 21.45, -2.04)
CIE-LCHlch(39.92, 21.55, 354.55°)
OKLaboklab(49.04% 0.0643 -0.0051)
OKLCHoklch(49.04% 0.065 355.5)
XYZxyz(13.7514, 11.2031, 12.9910)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5162 #517E6D
analogous
#7E5178 #7E5162 #7E5651
triadic
#7E5162 #627E51 #51627E
tetradic
#7E5162 #787E51 #517E6D #56517E
square
#7E5162 #787E51 #517E6D #56517E
split-complementary
#7E5162 #517E56 #51787E
monochromatic
#332128 #593945 #7E5162 #A06C80 #B891A0

Accessibility & contrast

On white

6.48
#7E5162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7E5162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5162
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5162#FFFFFF#000000##FFFFFF
##7E51621.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565963
Deuteranopia (green-blind)
#616161
Tritanopia (blue-blind)
#854F57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e5162;
/* rgb */ color: rgb(126, 81, 98);
/* oklch */ color: oklch(49.0% 0.065 355.5);
Tailwind
colors: {
  custom: {
    50: '#a4828e',
    500: '#7e5162',
    950: '#000000',
  },
}
SCSS
$custom: #7e5162;
$custom-light: #a4828e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5162",
  "rgb": {
    "r": 126,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 337.333,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.0645,
    "h": 355.5
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#7E5162
secondary
#85A599
accent
#BE9E6A
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7E5162

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

Preview Lab → · Contrast checker → · Palette generator →

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