#7E1564#7E1564

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

Color values

HEX#7E1564
RGBrgb(126, 21, 100)
HSLhsl(315, 71%, 29%)
HSVhsv(315, 83%, 49%)
CMYKcmyk(0%, 83.3%, 20.6%, 50.6%)
CIE-LABlab(29.14, 50.36, -19.64)
CIE-LCHlch(29.14, 54.05, 338.69°)
OKLaboklab(41.05% 0.1509 -0.053)
OKLCHoklch(41.05% 0.16 340.6)
XYZxyz(11.1730, 5.8932, 12.6032)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1564 #157E2F
analogous
#64157E #7E1564 #7E1530
triadic
#7E1564 #647E15 #15647E
tetradic
#7E1564 #7E6415 #157E2F #15307E
square
#7E1564 #7E6415 #157E2F #15307E
split-complementary
#7E1564 #307E15 #157E64
monochromatic
#1A0415 #4A0C3A #7E1564 #B21E8E #DD31B2

Accessibility & contrast

On white

9.64
#7E1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1564
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1564#FFFFFF#000000##FFFFFF
##7E15641.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#86193C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1564;
/* rgb */ color: rgb(126, 21, 100);
/* oklch */ color: oklch(41.0% 0.160 340.6);
Tailwind
colors: {
  custom: {
    50: '#a76190',
    500: '#7e1564',
    950: '#000000',
  },
}
SCSS
$custom: #7e1564;
$custom-light: #a76190;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1564",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 314.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.15992,
    "h": 340.6
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#7E1564
secondary
#3CB359
accent
#EE663A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1564

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

Preview Lab → · Contrast checker → · Palette generator →

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