#7E3E71#7E3E71

#7E3E71 is a mid, moderate pink. Relative luminance 0.091; OKLCH L 46.4% C 0.111 H 335.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7E3E71
RGBrgb(126, 62, 113)
HSLhsl(312, 34%, 37%)
HSVhsv(312, 51%, 49%)
CMYKcmyk(0%, 50.8%, 10.3%, 50.6%)
CIE-LABlab(36.13, 34.95, -17.12)
CIE-LCHlch(36.13, 38.92, 333.90°)
OKLaboklab(46.36% 0.1012 -0.0463)
OKLCHoklch(46.36% 0.111 335.4)
XYZxyz(13.3075, 9.0740, 16.6701)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3E71 #3E7E4B
analogous
#6B3E7E #7E3E71 #7E3E51
triadic
#7E3E71 #717E3E #3E717E
tetradic
#7E3E71 #7E6B3E #3E7E4B #3E517E
square
#7E3E71 #7E6B3E #3E7E4B #3E517E
split-complementary
#7E3E71 #517E3E #3E7E6B
monochromatic
#2C1627 #552A4C #7E3E71 #A75296 #BD79AF

Accessibility & contrast

On white

7.46
#7E3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7E3E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3E71
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3E71#FFFFFF#000000##FFFFFF
##7E3E711.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#834152
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7e3e71;
/* rgb */ color: rgb(126, 62, 113);
/* oklch */ color: oklch(46.4% 0.111 335.4);
Tailwind
colors: {
  custom: {
    50: '#a5769a',
    500: '#7e3e71',
    950: '#000000',
  },
}
SCSS
$custom: #7e3e71;
$custom-light: #a5769a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3e71",
  "rgb": {
    "r": 126,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 312.188,
    "s": 34.043,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.11124,
    "h": 335.4
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#7E3E71
secondary
#70A77C
accent
#CA745E
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #7E3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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