#7A1661#7A1661

#7A1661 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.155 H 340.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7A1661
RGBrgb(122, 22, 97)
HSLhsl(315, 69%, 28%)
HSVhsv(315, 82%, 48%)
CMYKcmyk(0%, 82%, 20.5%, 52.2%)
CIE-LABlab(28.32, 48.68, -19.03)
CIE-LCHlch(28.32, 52.27, 338.64°)
OKLaboklab(40.26% 0.1457 -0.0514)
OKLCHoklch(40.26% 0.155 340.6)
XYZxyz(10.4709, 5.5755, 11.8317)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1661 #167A2F
analogous
#61167A #7A1661 #7A162F
triadic
#7A1661 #617A16 #16617A
tetradic
#7A1661 #7A6116 #167A2F #162F7A
square
#7A1661 #7A6116 #167A2F #162F7A
split-complementary
#7A1661 #2F7A16 #167A61
monochromatic
#1A0515 #460D38 #7A1661 #AE1F8A #DA31AF

Accessibility & contrast

On white

9.93
#7A1661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1661
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1661#FFFFFF#000000##FFFFFF
##7A16611.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1661;
/* rgb */ color: rgb(122, 22, 97);
/* oklch */ color: oklch(40.3% 0.155 340.6);
Tailwind
colors: {
  custom: {
    50: '#a4608e',
    500: '#7a1661',
    950: '#000000',
  },
}
SCSS
$custom: #7a1661;
$custom-light: #a4608e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1661",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 315,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.15453,
    "h": 340.6
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7A1661
secondary
#3DAF59
accent
#EC683C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A1661

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

Preview Lab → · Contrast checker → · Palette generator →

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