#7E3571#7E3571

#7E3571 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.127 H 334.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7E3571
RGBrgb(126, 53, 113)
HSLhsl(311, 41%, 35%)
HSVhsv(311, 58%, 49%)
CMYKcmyk(0%, 57.9%, 10.3%, 50.6%)
CIE-LABlab(34.34, 39.67, -19.87)
CIE-LCHlch(34.34, 44.37, 333.39°)
OKLaboklab(45.04% 0.1149 -0.0539)
OKLCHoklch(45.04% 0.127 334.9)
XYZxyz(12.8580, 8.1750, 16.5203)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3571 #357E42
analogous
#66357E #7E3571 #7E354C
triadic
#7E3571 #717E35 #35717E
tetradic
#7E3571 #7E6635 #357E42 #354C7E
square
#7E3571 #7E6635 #357E42 #354C7E
split-complementary
#7E3571 #4C7E35 #357E66
monochromatic
#281124 #53234A #7E3571 #A94798 #C16CB2

Accessibility & contrast

On white

7.97
#7E3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7E3571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3571
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3571#FFFFFF#000000##FFFFFF
##7E35711.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#84394E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e3571;
/* rgb */ color: rgb(126, 53, 113);
/* oklch */ color: oklch(45.0% 0.127 334.9);
Tailwind
colors: {
  custom: {
    50: '#a5709a',
    500: '#7e3571',
    950: '#000000',
  },
}
SCSS
$custom: #7e3571;
$custom-light: #a5709a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3571",
  "rgb": {
    "r": 126,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 310.685,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.12696,
    "h": 334.9
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#7E3571
secondary
#65AA71
accent
#D16D57
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #7E3571

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

Preview Lab → · Contrast checker → · Palette generator →

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