#7A164C#7A164C

#7A164C is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.142 H 353.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7A164C
RGBrgb(122, 22, 76)
HSLhsl(328, 69%, 28%)
HSVhsv(328, 82%, 48%)
CMYKcmyk(0%, 82%, 37.7%, 52.2%)
CIE-LABlab(27.39, 45.96, -6.58)
CIE-LCHlch(27.39, 46.43, 351.85°)
OKLaboklab(39.29% 0.1412 -0.0169)
OKLCHoklch(39.29% 0.142 353.2)
XYZxyz(9.6181, 5.2344, 7.3399)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A164C #167A44
analogous
#76167A #7A164C #7A161A
triadic
#7A164C #4C7A16 #164C7A
tetradic
#7A164C #7A7616 #167A44 #161A7A
square
#7A164C #7A7616 #167A44 #161A7A
split-complementary
#7A164C #1A7A16 #167A76
monochromatic
#1A0510 #460D2C #7A164C #AE1F6C #DA318C

Accessibility & contrast

On white

10.26
#7A164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A164C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A164C#FFFFFF#000000##FFFFFF
##7A164C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354D
Deuteranopia (green-blind)
#46474A
Tritanopia (blue-blind)
#84092F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a164c;
/* rgb */ color: rgb(122, 22, 76);
/* oklch */ color: oklch(39.3% 0.142 353.2);
Tailwind
colors: {
  custom: {
    50: '#a55f7e',
    500: '#7a164c',
    950: '#000000',
  },
}
SCSS
$custom: #7a164c;
$custom-light: #a55f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a164c",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 327.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.14221,
    "h": 353.2
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#7A164C
secondary
#3DAF71
accent
#EC8D3C
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7A164C

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

Preview Lab → · Contrast checker → · Palette generator →

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