#7E2057#7E2057

#7E2057 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 349.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2057
RGBrgb(126, 32, 87)
HSLhsl(325, 59%, 31%)
HSVhsv(325, 75%, 49%)
CMYKcmyk(0%, 74.6%, 31%, 50.6%)
CIE-LABlab(29.81, 45.04, -10.14)
CIE-LCHlch(29.81, 46.17, 347.31°)
OKLaboklab(41.34% 0.1373 -0.0266)
OKLCHoklch(41.34% 0.14 349.1)
XYZxyz(10.8415, 6.1580, 9.6326)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2057 #207E47
analogous
#76207E #7E2057 #7E2028
triadic
#7E2057 #577E20 #20577E
tetradic
#7E2057 #7E7620 #207E47 #20287E
square
#7E2057 #7E7620 #207E47 #20287E
split-complementary
#7E2057 #287E20 #207E76
monochromatic
#1C0714 #4D1435 #7E2057 #AF2C79 #D04898

Accessibility & contrast

On white

9.41
#7E2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2057
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2057#FFFFFF#000000##FFFFFF
##7E20571.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C59
Deuteranopia (green-blind)
#494C55
Tritanopia (blue-blind)
#871B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2057;
/* rgb */ color: rgb(126, 32, 87);
/* oklch */ color: oklch(41.3% 0.140 349.1);
Tailwind
colors: {
  custom: {
    50: '#a76486',
    500: '#7e2057',
    950: '#000000',
  },
}
SCSS
$custom: #7e2057;
$custom-light: #a76486;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2057",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 324.894,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.13986,
    "h": 349.1
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#7E2057
secondary
#49B174
accent
#E38645
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E2057

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

Preview Lab → · Contrast checker → · Palette generator →

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