#7E456F#7E456F

#7E456F is a mid, moderate pink. Relative luminance 0.098; OKLCH L 47.4% C 0.097 H 337.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7E456F
RGBrgb(126, 69, 111)
HSLhsl(316, 29%, 38%)
HSVhsv(316, 45%, 49%)
CMYKcmyk(0%, 45.2%, 11.9%, 50.6%)
CIE-LABlab(37.55, 30.69, -13.68)
CIE-LCHlch(37.55, 33.60, 335.97°)
OKLaboklab(47.4% 0.0893 -0.0367)
OKLCHoklch(47.4% 0.097 337.7)
XYZxyz(13.6016, 9.8404, 16.2188)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E456F #457E54
analogous
#70457E #7E456F #7E4552
triadic
#7E456F #6F7E45 #456F7E
tetradic
#7E456F #7E7045 #457E54 #45527E
square
#7E456F #7E7045 #457E54 #45527E
split-complementary
#7E456F #527E45 #457E70
monochromatic
#2F1A29 #562F4C #7E456F #A55B92 #BB83AC

Accessibility & contrast

On white

7.08
#7E456F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7E456F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E456F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E456F#FFFFFF#000000##FFFFFF
##7E456F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465370
Deuteranopia (green-blind)
#555C6D
Tritanopia (blue-blind)
#844755
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7e456f;
/* rgb */ color: rgb(126, 69, 111);
/* oklch */ color: oklch(47.4% 0.097 337.7);
Tailwind
colors: {
  custom: {
    50: '#a57a98',
    500: '#7e456f',
    950: '#000000',
  },
}
SCSS
$custom: #7e456f;
$custom-light: #a57a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e456f",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 315.789,
    "s": 29.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.474,
    "c": 0.09654,
    "h": 337.7
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#7E456F
secondary
#79A685
accent
#C57C62
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090D
muted
#7F7B7E

Preview Lab

Preview with #7E456F

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

Preview Lab → · Contrast checker → · Palette generator →

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