#7E4875#7E4875

#7E4875 is a mid, moderate pink. Relative luminance 0.104; OKLCH L 48.2% C 0.096 H 333.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7E4875
RGBrgb(126, 72, 117)
HSLhsl(310, 27%, 39%)
HSVhsv(310, 43%, 49%)
CMYKcmyk(0%, 42.9%, 7.1%, 50.6%)
CIE-LABlab(38.47, 30.09, -16.01)
CIE-LCHlch(38.47, 34.08, 331.98°)
OKLaboklab(48.17% 0.086 -0.0432)
OKLCHoklch(48.17% 0.096 333.3)
XYZxyz(14.1323, 10.3555, 18.0806)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4875 #487E51
analogous
#6C487E #7E4875 #7E485A
triadic
#7E4875 #757E48 #48757E
tetradic
#7E4875 #7E6C48 #487E51 #485A7E
square
#7E4875 #7E6C48 #487E51 #485A7E
split-complementary
#7E4875 #5A7E48 #487E6C
monochromatic
#301B2D #573251 #7E4875 #A45F98 #BA86B1

Accessibility & contrast

On white

6.84
#7E4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7E4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4875
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4875#FFFFFF#000000##FFFFFF
##7E48751.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475677
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#834B59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7e4875;
/* rgb */ color: rgb(126, 72, 117);
/* oklch */ color: oklch(48.2% 0.096 333.3);
Tailwind
colors: {
  custom: {
    50: '#a47c9d',
    500: '#7e4875',
    950: '#000000',
  },
}
SCSS
$custom: #7e4875;
$custom-light: #a47c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4875",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 310,
    "s": 27.273,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4817,
    "c": 0.09629,
    "h": 333.3
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#7E4875
secondary
#7CA683
accent
#C47464
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #7E4875

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

Preview Lab → · Contrast checker → · Palette generator →

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