#7E4F70#7E4F70

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

Color values

HEX#7E4F70
RGBrgb(126, 79, 112)
HSLhsl(318, 23%, 40%)
HSVhsv(318, 37%, 49%)
CMYKcmyk(0%, 37.3%, 11.1%, 50.6%)
CIE-LABlab(39.91, 25.08, -10.73)
CIE-LCHlch(39.91, 27.28, 336.85°)
OKLaboklab(49.19% 0.0728 -0.0286)
OKLCHoklch(49.19% 0.078 338.5)
XYZxyz(14.3248, 11.1982, 16.7330)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4F70 #4F7E5D
analogous
#744F7E #7E4F70 #7E4F58
triadic
#7E4F70 #707E4F #4F707E
tetradic
#7E4F70 #7E744F #4F7E5D #4F587E
square
#7E4F70 #7E744F #4F7E5D #4F587E
split-complementary
#7E4F70 #587E4F #4F7E74
monochromatic
#33202D #58374F #7E4F70 #A16990 #B98FAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E4F70#FFFFFF#000000##FFFFFF
##7E4F701.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)
#505A71
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#83505B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e4f70;
/* rgb */ color: rgb(126, 79, 112);
/* oklch */ color: oklch(49.2% 0.078 338.5);
Tailwind
colors: {
  custom: {
    50: '#a48199',
    500: '#7e4f70',
    950: '#000000',
  },
}
SCSS
$custom: #7e4f70;
$custom-light: #a48199;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4f70",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 112
  },
  "hsl": {
    "h": 317.872,
    "s": 22.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.07823,
    "h": 338.5
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#7E4F70
secondary
#83A68D
accent
#BF8268
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0D
muted
#7F7C7E

Preview Lab

Preview with #7E4F70

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

Preview Lab → · Contrast checker → · Palette generator →

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