#7E1759#7E1759

#7E1759 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.151 H 346.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7E1759
RGBrgb(126, 23, 89)
HSLhsl(322, 69%, 29%)
HSVhsv(322, 82%, 49%)
CMYKcmyk(0%, 81.7%, 29.4%, 50.6%)
CIE-LABlab(28.83, 48.31, -12.94)
CIE-LCHlch(28.83, 50.02, 345.00°)
OKLaboklab(40.65% 0.1472 -0.0342)
OKLCHoklch(40.65% 0.151 346.9)
XYZxyz(10.7143, 5.7709, 9.9989)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1759 #177E3C
analogous
#70177E #7E1759 #7E1726
triadic
#7E1759 #597E17 #17597E
tetradic
#7E1759 #7E7017 #177E3C #17267E
square
#7E1759 #7E7017 #177E3C #17267E
split-complementary
#7E1759 #267E17 #177E70
monochromatic
#1A0512 #4A0E34 #7E1759 #B2207E #DA359F

Accessibility & contrast

On white

9.75
#7E1759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1759
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1759#FFFFFF#000000##FFFFFF
##7E17591.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395B
Deuteranopia (green-blind)
#464A57
Tritanopia (blue-blind)
#871336
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1759;
/* rgb */ color: rgb(126, 23, 89);
/* oklch */ color: oklch(40.7% 0.151 346.9);
Tailwind
colors: {
  custom: {
    50: '#a76188',
    500: '#7e1759',
    950: '#000000',
  },
}
SCSS
$custom: #7e1759;
$custom-light: #a76188;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1759",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 321.553,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40651,
    "c": 0.15114,
    "h": 346.9
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#7E1759
secondary
#3EB368
accent
#EC7B3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1759

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

Preview Lab → · Contrast checker → · Palette generator →

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