#7E2563#7E2563

#7E2563 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.141 H 342.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7E2563
RGBrgb(126, 37, 99)
HSLhsl(318, 55%, 32%)
HSVhsv(318, 71%, 49%)
CMYKcmyk(0%, 70.6%, 21.4%, 50.6%)
CIE-LABlab(31.02, 44.75, -16.08)
CIE-LCHlch(31.02, 47.55, 340.23°)
OKLaboklab(42.39% 0.1341 -0.0431)
OKLCHoklch(42.39% 0.141 342.2)
XYZxyz(11.5182, 6.6607, 12.4810)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2563 #257E40
analogous
#6D257E #7E2563 #7E2537
triadic
#7E2563 #637E25 #25637E
tetradic
#7E2563 #7E6D25 #257E40 #25377E
square
#7E2563 #7E6D25 #257E40 #25377E
split-complementary
#7E2563 #377E25 #257E6D
monochromatic
#1F0919 #4F173E #7E2563 #AD3388 #CC51A7

Accessibility & contrast

On white

9.01
#7E2563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2563
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2563#FFFFFF#000000##FFFFFF
##7E25631.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4065
Deuteranopia (green-blind)
#484E61
Tritanopia (blue-blind)
#862640
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2563;
/* rgb */ color: rgb(126, 37, 99);
/* oklch */ color: oklch(42.4% 0.141 342.2);
Tailwind
colors: {
  custom: {
    50: '#a6678f',
    500: '#7e2563',
    950: '#000000',
  },
}
SCSS
$custom: #7e2563;
$custom-light: #a6678f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2563",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 318.202,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42393,
    "c": 0.14082,
    "h": 342.2
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#7E2563
secondary
#4FB06C
accent
#DE774A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2563

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

Preview Lab → · Contrast checker → · Palette generator →

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