#7E1560#7E1560

#7E1560 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.157 H 342.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7E1560
RGBrgb(126, 21, 96)
HSLhsl(317, 71%, 29%)
HSVhsv(317, 83%, 49%)
CMYKcmyk(0%, 83.3%, 23.8%, 50.6%)
CIE-LABlab(28.95, 49.80, -17.34)
CIE-LCHlch(28.95, 52.74, 340.81°)
OKLaboklab(40.84% 0.1503 -0.0465)
OKLCHoklch(40.84% 0.157 342.8)
XYZxyz(10.9841, 5.8177, 11.6085)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1560 #157E33
analogous
#68157E #7E1560 #7E152C
triadic
#7E1560 #607E15 #15607E
tetradic
#7E1560 #7E6815 #157E33 #152C7E
square
#7E1560 #7E6815 #157E33 #152C7E
split-complementary
#7E1560 #2C7E15 #157E68
monochromatic
#1A0414 #4A0C38 #7E1560 #B21E88 #DD31AC

Accessibility & contrast

On white

9.71
#7E1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1560
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1560#FFFFFF#000000##FFFFFF
##7E15601.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223962
Deuteranopia (green-blind)
#434A5E
Tritanopia (blue-blind)
#87163A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1560;
/* rgb */ color: rgb(126, 21, 96);
/* oklch */ color: oklch(40.8% 0.157 342.8);
Tailwind
colors: {
  custom: {
    50: '#a7618d',
    500: '#7e1560',
    950: '#000000',
  },
}
SCSS
$custom: #7e1560;
$custom-light: #a7618d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1560",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 317.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40842,
    "c": 0.15733,
    "h": 342.8
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#7E1560
secondary
#3CB35E
accent
#EE6D3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1560

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

Preview Lab → · Contrast checker → · Palette generator →

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