#7E476F#7E476F

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

Color values

HEX#7E476F
RGBrgb(126, 71, 111)
HSLhsl(316, 28%, 39%)
HSVhsv(316, 44%, 49%)
CMYKcmyk(0%, 43.7%, 11.9%, 50.6%)
CIE-LABlab(38.00, 29.55, -13.00)
CIE-LCHlch(38.00, 32.28, 336.26°)
OKLaboklab(47.74% 0.086 -0.0348)
OKLCHoklch(47.74% 0.093 338)
XYZxyz(13.7267, 10.0906, 16.2605)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E476F #477E56
analogous
#71477E #7E476F #7E4753
triadic
#7E476F #6F7E47 #476F7E
tetradic
#7E476F #7E7147 #477E56 #47537E
square
#7E476F #7E7147 #477E56 #47537E
split-complementary
#7E476F #537E47 #477E71
monochromatic
#301B2A #57314D #7E476F #A45E91 #BA85AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E476F#FFFFFF#000000##FFFFFF
##7E476F1.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)
#485470
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#834956
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e476f;
/* rgb */ color: rgb(126, 71, 111);
/* oklch */ color: oklch(47.7% 0.093 338.0);
Tailwind
colors: {
  custom: {
    50: '#a57c98',
    500: '#7e476f',
    950: '#000000',
  },
}
SCSS
$custom: #7e476f;
$custom-light: #a57c98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e476f",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 316.364,
    "s": 27.919,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.09275,
    "h": 338
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#7E476F
secondary
#7BA687
accent
#C47E64
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090D
muted
#7F7B7E

Preview Lab

Preview with #7E476F

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

Preview Lab → · Contrast checker → · Palette generator →

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