#7E2059#7E2059

#7E2059 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 347.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7E2059
RGBrgb(126, 32, 89)
HSLhsl(324, 59%, 31%)
HSVhsv(324, 75%, 49%)
CMYKcmyk(0%, 74.6%, 29.4%, 50.6%)
CIE-LABlab(29.89, 45.30, -11.32)
CIE-LCHlch(29.89, 46.70, 345.97°)
OKLaboklab(41.43% 0.1378 -0.0298)
OKLCHoklch(41.43% 0.141 347.8)
XYZxyz(10.9244, 6.1911, 10.0690)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2059 #207E45
analogous
#74207E #7E2059 #7E202A
triadic
#7E2059 #597E20 #20597E
tetradic
#7E2059 #7E7420 #207E45 #202A7E
square
#7E2059 #7E7420 #207E45 #202A7E
split-complementary
#7E2059 #2A7E20 #207E74
monochromatic
#1C0714 #4D1437 #7E2059 #AF2C7B #D0489B

Accessibility & contrast

On white

9.38
#7E2059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2059
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2059#FFFFFF#000000##FFFFFF
##7E20591.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#494C57
Tritanopia (blue-blind)
#871C39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2059;
/* rgb */ color: rgb(126, 32, 89);
/* oklch */ color: oklch(41.4% 0.141 347.8);
Tailwind
colors: {
  custom: {
    50: '#a76588',
    500: '#7e2059',
    950: '#000000',
  },
}
SCSS
$custom: #7e2059;
$custom-light: #a76588;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2059",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 323.617,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41425,
    "c": 0.14101,
    "h": 347.8
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#7E2059
secondary
#49B172
accent
#E38345
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E2059

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

Preview Lab → · Contrast checker → · Palette generator →

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