#7A1966#7A1966

#7A1966 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.155 H 338.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7A1966
RGBrgb(122, 25, 102)
HSLhsl(312, 66%, 29%)
HSVhsv(312, 80%, 48%)
CMYKcmyk(0%, 79.5%, 16.4%, 52.2%)
CIE-LABlab(28.88, 48.50, -21.39)
CIE-LCHlch(28.88, 53.01, 336.20°)
OKLaboklab(40.75% 0.1436 -0.0581)
OKLCHoklch(40.75% 0.155 338)
XYZxyz(10.7722, 5.7932, 13.1187)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1966 #197A2D
analogous
#5E197A #7A1966 #7A1936
triadic
#7A1966 #667A19 #19667A
tetradic
#7A1966 #7A5E19 #197A2D #19367A
square
#7A1966 #7A5E19 #197A2D #19367A
split-complementary
#7A1966 #367A19 #197A5E
monochromatic
#190515 #470F3C #7A1966 #AD2390 #D637B5

Accessibility & contrast

On white

9.73
#7A1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1966
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1966#FFFFFF#000000##FFFFFF
##7A19661.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#3F4964
Tritanopia (blue-blind)
#811F3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1966;
/* rgb */ color: rgb(122, 25, 102);
/* oklch */ color: oklch(40.8% 0.155 338.0);
Tailwind
colors: {
  custom: {
    50: '#a46292',
    500: '#7a1966',
    950: '#000000',
  },
}
SCSS
$custom: #7a1966;
$custom-light: #a46292;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1966",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 312.371,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.15492,
    "h": 338
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#7A1966
secondary
#40AF57
accent
#E9623F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7A1966

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

Preview Lab → · Contrast checker → · Palette generator →

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