#7E486F#7E486F

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

Color values

HEX#7E486F
RGBrgb(126, 72, 111)
HSLhsl(317, 27%, 39%)
HSVhsv(317, 43%, 49%)
CMYKcmyk(0%, 42.9%, 11.9%, 50.6%)
CIE-LABlab(38.23, 28.98, -12.65)
CIE-LCHlch(38.23, 31.62, 336.41°)
OKLaboklab(47.91% 0.0843 -0.0339)
OKLCHoklch(47.91% 0.091 338.1)
XYZxyz(13.7908, 10.2189, 16.2819)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E486F #487E57
analogous
#72487E #7E486F #7E4854
triadic
#7E486F #6F7E48 #486F7E
tetradic
#7E486F #7E7248 #487E57 #48547E
square
#7E486F #7E7248 #487E57 #48547E
split-complementary
#7E486F #547E48 #487E72
monochromatic
#301B2A #57324D #7E486F #A45F91 #BA86AC

Accessibility & contrast

On white

6.90
#7E486F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E486F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E486F#FFFFFF#000000##FFFFFF
##7E486F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495570
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#834956
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e486f;
/* rgb */ color: rgb(126, 72, 111);
/* oklch */ color: oklch(47.9% 0.091 338.1);
Tailwind
colors: {
  custom: {
    50: '#a47c98',
    500: '#7e486f',
    950: '#000000',
  },
}
SCSS
$custom: #7e486f;
$custom-light: #a47c98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e486f",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 316.667,
    "s": 27.273,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.09085,
    "h": 338.1
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E486F

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

Preview Lab → · Contrast checker → · Palette generator →

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