#7E1559#7E1559

#7E1559 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 346.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7E1559
RGBrgb(126, 21, 89)
HSLhsl(321, 71%, 29%)
HSVhsv(321, 83%, 49%)
CMYKcmyk(0%, 83.3%, 29.4%, 50.6%)
CIE-LABlab(28.63, 48.88, -13.25)
CIE-LCHlch(28.63, 50.65, 344.84°)
OKLaboklab(40.51% 0.149 -0.0351)
OKLCHoklch(40.51% 0.153 346.8)
XYZxyz(10.6761, 5.6945, 9.9862)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1559 #157E3A
analogous
#6F157E #7E1559 #7E1525
triadic
#7E1559 #597E15 #15597E
tetradic
#7E1559 #7E6F15 #157E3A #15257E
square
#7E1559 #7E6F15 #157E3A #15257E
split-complementary
#7E1559 #257E15 #157E6F
monochromatic
#1A0413 #4A0C34 #7E1559 #B21E7E #DD31A0

Accessibility & contrast

On white

9.82
#7E1559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1559
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1559#FFFFFF#000000##FFFFFF
##7E15591.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385B
Deuteranopia (green-blind)
#454A57
Tritanopia (blue-blind)
#871036
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1559;
/* rgb */ color: rgb(126, 21, 89);
/* oklch */ color: oklch(40.5% 0.153 346.8);
Tailwind
colors: {
  custom: {
    50: '#a76088',
    500: '#7e1559',
    950: '#000000',
  },
}
SCSS
$custom: #7e1559;
$custom-light: #a76088;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1559",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 321.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40507,
    "c": 0.15306,
    "h": 346.8
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#7E1559
secondary
#3CB366
accent
#EE793A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1559

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

Preview Lab → · Contrast checker → · Palette generator →

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