#7E486E#7E486E

#7E486E is a mid, moderate pink. Relative luminance 0.102; OKLCH L 47.9% C 0.090 H 339.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7E486E
RGBrgb(126, 72, 110)
HSLhsl(318, 27%, 39%)
HSVhsv(318, 43%, 49%)
CMYKcmyk(0%, 42.9%, 12.7%, 50.6%)
CIE-LABlab(38.19, 28.80, -12.09)
CIE-LCHlch(38.19, 31.23, 337.23°)
OKLaboklab(47.87% 0.084 -0.0323)
OKLCHoklch(47.87% 0.09 339)
XYZxyz(13.7361, 10.1970, 15.9935)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E486E #487E58
analogous
#73487E #7E486E #7E4853
triadic
#7E486E #6E7E48 #486E7E
tetradic
#7E486E #7E7348 #487E58 #48537E
square
#7E486E #7E7348 #487E58 #48537E
split-complementary
#7E486E #537E48 #487E73
monochromatic
#301B2A #57324C #7E486E #A45F90 #BA86AB

Accessibility & contrast

On white

6.91
#7E486E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7E486E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E486E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E486E#FFFFFF#000000##FFFFFF
##7E486E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A556F
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#844956
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e486e;
/* rgb */ color: rgb(126, 72, 110);
/* oklch */ color: oklch(47.9% 0.090 339.0);
Tailwind
colors: {
  custom: {
    50: '#a47c97',
    500: '#7e486e',
    950: '#000000',
  },
}
SCSS
$custom: #7e486e;
$custom-light: #a47c97;
$custom-dark: #000000;
JSON
{
  "hex": "#7e486e",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 110
  },
  "hsl": {
    "h": 317.778,
    "s": 27.273,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.08999,
    "h": 339
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#7E486E
secondary
#7CA688
accent
#C48064
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090D
muted
#7F7B7E

Preview Lab

Preview with #7E486E

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

Preview Lab → · Contrast checker → · Palette generator →

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