#7A1960#7A1960

#7A1960 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.151 H 341.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7A1960
RGBrgb(122, 25, 96)
HSLhsl(316, 66%, 29%)
HSVhsv(316, 80%, 48%)
CMYKcmyk(0%, 79.5%, 21.3%, 52.2%)
CIE-LABlab(28.59, 47.62, -17.96)
CIE-LCHlch(28.59, 50.89, 339.33°)
OKLaboklab(40.44% 0.1428 -0.0484)
OKLCHoklch(40.44% 0.151 341.3)
XYZxyz(10.4853, 5.6784, 11.6079)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1960 #197A33
analogous
#64197A #7A1960 #7A1930
triadic
#7A1960 #607A19 #19607A
tetradic
#7A1960 #7A6419 #197A33 #19307A
square
#7A1960 #7A6419 #197A33 #19307A
split-complementary
#7A1960 #307A19 #197A64
monochromatic
#190514 #470F38 #7A1960 #AD2388 #D637AC

Accessibility & contrast

On white

9.83
#7A1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1960
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1960#FFFFFF#000000##FFFFFF
##7A19601.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223962
Deuteranopia (green-blind)
#41495E
Tritanopia (blue-blind)
#821B3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1960;
/* rgb */ color: rgb(122, 25, 96);
/* oklch */ color: oklch(40.4% 0.151 341.3);
Tailwind
colors: {
  custom: {
    50: '#a4618d',
    500: '#7a1960',
    950: '#000000',
  },
}
SCSS
$custom: #7a1960;
$custom-light: #a4618d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1960",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 316.082,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.15077,
    "h": 341.3
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7A1960
secondary
#40AF5E
accent
#E96C3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1960

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

Preview Lab → · Contrast checker → · Palette generator →

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