#7E1561#7E1561

#7E1561 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 342.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7E1561
RGBrgb(126, 21, 97)
HSLhsl(317, 71%, 29%)
HSVhsv(317, 83%, 49%)
CMYKcmyk(0%, 83.3%, 23%, 50.6%)
CIE-LABlab(29.00, 49.94, -17.92)
CIE-LCHlch(29.00, 53.06, 340.26°)
OKLaboklab(40.89% 0.1505 -0.0481)
OKLCHoklch(40.89% 0.158 342.3)
XYZxyz(11.0304, 5.8362, 11.8525)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1561 #157E32
analogous
#67157E #7E1561 #7E152D
triadic
#7E1561 #617E15 #15617E
tetradic
#7E1561 #7E6715 #157E32 #152D7E
square
#7E1561 #7E6715 #157E32 #152D7E
split-complementary
#7E1561 #2D7E15 #157E67
monochromatic
#1A0414 #4A0C39 #7E1561 #B21E89 #DD31AD

Accessibility & contrast

On white

9.69
#7E1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1561
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1561#FFFFFF#000000##FFFFFF
##7E15611.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A63
Deuteranopia (green-blind)
#434A5F
Tritanopia (blue-blind)
#86163A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1561;
/* rgb */ color: rgb(126, 21, 97);
/* oklch */ color: oklch(40.9% 0.158 342.3);
Tailwind
colors: {
  custom: {
    50: '#a7618e',
    500: '#7e1561',
    950: '#000000',
  },
}
SCSS
$custom: #7e1561;
$custom-light: #a7618e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1561",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 316.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40892,
    "c": 0.15797,
    "h": 342.3
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#7E1561
secondary
#3CB35D
accent
#EE6B3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1561

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

Preview Lab → · Contrast checker → · Palette generator →

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