#7E1563#7E1563

#7E1563 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 341.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7E1563
RGBrgb(126, 21, 99)
HSLhsl(315, 71%, 29%)
HSVhsv(315, 83%, 49%)
CMYKcmyk(0%, 83.3%, 21.4%, 50.6%)
CIE-LABlab(29.09, 50.22, -19.07)
CIE-LCHlch(29.09, 53.72, 339.21°)
OKLaboklab(40.99% 0.1508 -0.0514)
OKLCHoklch(40.99% 0.159 341.2)
XYZxyz(11.1249, 5.8740, 12.3499)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1563 #157E30
analogous
#65157E #7E1563 #7E152E
triadic
#7E1563 #637E15 #15637E
tetradic
#7E1563 #7E6515 #157E30 #152E7E
square
#7E1563 #7E6515 #157E30 #152E7E
split-complementary
#7E1563 #2E7E15 #157E65
monochromatic
#1A0415 #4A0C3A #7E1563 #B21E8C #DD31B0

Accessibility & contrast

On white

9.66
#7E1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1563
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1563#FFFFFF#000000##FFFFFF
##7E15631.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#424A61
Tritanopia (blue-blind)
#86183B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1563;
/* rgb */ color: rgb(126, 21, 99);
/* oklch */ color: oklch(41.0% 0.159 341.2);
Tailwind
colors: {
  custom: {
    50: '#a7618f',
    500: '#7e1563',
    950: '#000000',
  },
}
SCSS
$custom: #7e1563;
$custom-light: #a7618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1563",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 315.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.15927,
    "h": 341.2
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#7E1563
secondary
#3CB35A
accent
#EE683A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1563

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

Preview Lab → · Contrast checker → · Palette generator →

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