#7E3D71#7E3D71

#7E3D71 is a mid, moderate pink. Relative luminance 0.090; OKLCH L 46.2% C 0.113 H 335.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7E3D71
RGBrgb(126, 61, 113)
HSLhsl(312, 35%, 37%)
HSVhsv(312, 52%, 49%)
CMYKcmyk(0%, 51.6%, 10.3%, 50.6%)
CIE-LABlab(35.92, 35.49, -17.44)
CIE-LCHlch(35.92, 39.54, 333.83°)
OKLaboklab(46.21% 0.1027 -0.0471)
OKLCHoklch(46.21% 0.113 335.3)
XYZxyz(13.2536, 8.9662, 16.6522)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3D71 #3D7E4A
analogous
#6B3D7E #7E3D71 #7E3D51
triadic
#7E3D71 #717E3D #3D717E
tetradic
#7E3D71 #7E6B3D #3D7E4A #3D517E
square
#7E3D71 #7E6B3D #3D7E4A #3D517E
split-complementary
#7E3D71 #517E3D #3D7E6B
monochromatic
#2C1527 #55294C #7E3D71 #A75196 #BE78B0

Accessibility & contrast

On white

7.52
#7E3D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7E3D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3D71
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3D71#FFFFFF#000000##FFFFFF
##7E3D711.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E73
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#834052
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e3d71;
/* rgb */ color: rgb(126, 61, 113);
/* oklch */ color: oklch(46.2% 0.113 335.3);
Tailwind
colors: {
  custom: {
    50: '#a5759a',
    500: '#7e3d71',
    950: '#000000',
  },
}
SCSS
$custom: #7e3d71;
$custom-light: #a5759a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3d71",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 312,
    "s": 34.759,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.11304,
    "h": 335.3
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#7E3D71
secondary
#6FA87B
accent
#CB735D
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #7E3D71

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

Preview Lab → · Contrast checker → · Palette generator →

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