#7E4F5F#7E4F5F

#7E4F5F is a mid, moderate pink. Relative luminance 0.109; OKLCH L 48.6% C 0.067 H 357.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7E4F5F
RGBrgb(126, 79, 95)
HSLhsl(340, 23%, 40%)
HSVhsv(340, 37%, 49%)
CMYKcmyk(0%, 37.3%, 24.6%, 50.6%)
CIE-LABlab(39.33, 22.15, -1.04)
CIE-LCHlch(39.33, 22.17, 357.31°)
OKLaboklab(48.56% 0.0666 -0.0024)
OKLCHoklch(48.56% 0.067 357.9)
XYZxyz(13.4660, 10.8547, 12.2101)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4F5F #4F7E6E
analogous
#7E4F77 #7E4F5F #7E564F
triadic
#7E4F5F #5F7E4F #4F5F7E
tetradic
#7E4F5F #777E4F #4F7E6E #564F7E
square
#7E4F5F #777E4F #4F7E6E #564F7E
split-complementary
#7E4F5F #4F7E56 #4F777E
monochromatic
#332026 #583743 #7E4F5F #A1697C #B98F9D

Accessibility & contrast

On white

6.62
#7E4F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7E4F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4F5F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4F5F#FFFFFF#000000##FFFFFF
##7E4F5F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555860
Deuteranopia (green-blind)
#60605E
Tritanopia (blue-blind)
#854D55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e4f5f;
/* rgb */ color: rgb(126, 79, 95);
/* oklch */ color: oklch(48.6% 0.067 357.9);
Tailwind
colors: {
  custom: {
    50: '#a4818c',
    500: '#7e4f5f',
    950: '#000000',
  },
}
SCSS
$custom: #7e4f5f;
$custom-light: #a4818c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4f5f",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 95
  },
  "hsl": {
    "h": 339.574,
    "s": 22.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.06668,
    "h": 357.9
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#7E4F5F
secondary
#83A69A
accent
#BFA268
background
#FAF7F8
surface
#F4EEF0
border
#CEC9CB
text
#0F0A0C
muted
#7F7C7D

Preview Lab

Preview with #7E4F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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