#7E2056#7E2056

#7E2056 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.139 H 349.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7E2056
RGBrgb(126, 32, 86)
HSLhsl(326, 59%, 31%)
HSVhsv(326, 75%, 49%)
CMYKcmyk(0%, 74.6%, 31.7%, 50.6%)
CIE-LABlab(29.77, 44.91, -9.54)
CIE-LCHlch(29.77, 45.91, 348.00°)
OKLaboklab(41.3% 0.137 -0.0249)
OKLCHoklch(41.3% 0.139 349.7)
XYZxyz(10.8010, 6.1417, 9.4190)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2056 #207E48
analogous
#77207E #7E2056 #7E2027
triadic
#7E2056 #567E20 #20567E
tetradic
#7E2056 #7E7720 #207E48 #20277E
square
#7E2056 #7E7720 #207E48 #20277E
split-complementary
#7E2056 #277E20 #207E77
monochromatic
#1C0713 #4D1435 #7E2056 #AF2C77 #D04896

Accessibility & contrast

On white

9.42
#7E2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2056
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2056#FFFFFF#000000##FFFFFF
##7E20561.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C57
Deuteranopia (green-blind)
#4A4C54
Tritanopia (blue-blind)
#871B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2056;
/* rgb */ color: rgb(126, 32, 86);
/* oklch */ color: oklch(41.3% 0.139 349.7);
Tailwind
colors: {
  custom: {
    50: '#a76485',
    500: '#7e2056',
    950: '#000000',
  },
}
SCSS
$custom: #7e2056;
$custom-light: #a76485;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2056",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 325.532,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.13929,
    "h": 349.7
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#7E2056
secondary
#49B175
accent
#E38845
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E2056

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

Preview Lab → · Contrast checker → · Palette generator →

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