#7A1561#7A1561

#7A1561 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.155 H 340.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A1561
RGBrgb(122, 21, 97)
HSLhsl(315, 71%, 28%)
HSVhsv(315, 83%, 48%)
CMYKcmyk(0%, 82.8%, 20.5%, 52.2%)
CIE-LABlab(28.22, 48.96, -19.19)
CIE-LCHlch(28.22, 52.59, 338.60°)
OKLaboklab(40.19% 0.1466 -0.0518)
OKLCHoklch(40.19% 0.156 340.5)
XYZxyz(10.4522, 5.5381, 11.8254)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1561 #157A2E
analogous
#60157A #7A1561 #7A152F
triadic
#7A1561 #617A15 #15617A
tetradic
#7A1561 #7A6015 #157A2E #152F7A
square
#7A1561 #7A6015 #157A2E #152F7A
split-complementary
#7A1561 #2F7A15 #157A60
monochromatic
#1A0415 #460C37 #7A1561 #AE1E8B #DB2EB0

Accessibility & contrast

On white

9.96
#7A1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1561
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1561#FFFFFF#000000##FFFFFF
##7A15611.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3863
Deuteranopia (green-blind)
#40485F
Tritanopia (blue-blind)
#82183A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1561;
/* rgb */ color: rgb(122, 21, 97);
/* oklch */ color: oklch(40.2% 0.155 340.5);
Tailwind
colors: {
  custom: {
    50: '#a4608e',
    500: '#7a1561',
    950: '#000000',
  },
}
SCSS
$custom: #7a1561;
$custom-light: #a4608e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1561",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 314.851,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.1555,
    "h": 340.5
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#7A1561
secondary
#3BAF58
accent
#ED673A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A1561

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

Preview Lab → · Contrast checker → · Palette generator →

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