#7A164E#7A164E

#7A164E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 351.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7A164E
RGBrgb(122, 22, 78)
HSLhsl(326, 69%, 28%)
HSVhsv(326, 82%, 48%)
CMYKcmyk(0%, 82%, 36.1%, 52.2%)
CIE-LABlab(27.47, 46.20, -7.80)
CIE-LCHlch(27.47, 46.85, 350.42°)
OKLaboklab(39.37% 0.1418 -0.0201)
OKLCHoklch(39.37% 0.143 351.9)
XYZxyz(9.6887, 5.2626, 7.7118)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A164E #167A42
analogous
#74167A #7A164E #7A161C
triadic
#7A164E #4E7A16 #164E7A
tetradic
#7A164E #7A7416 #167A42 #161C7A
square
#7A164E #7A7416 #167A42 #161C7A
split-complementary
#7A164E #1C7A16 #167A74
monochromatic
#1A0511 #460D2D #7A164E #AE1F6F #DA318F

Accessibility & contrast

On white

10.23
#7A164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A164E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A164E#FFFFFF#000000##FFFFFF
##7A164E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354F
Deuteranopia (green-blind)
#46474C
Tritanopia (blue-blind)
#840B30
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a164e;
/* rgb */ color: rgb(122, 22, 78);
/* oklch */ color: oklch(39.4% 0.143 351.9);
Tailwind
colors: {
  custom: {
    50: '#a5607f',
    500: '#7a164e',
    950: '#000000',
  },
}
SCSS
$custom: #7a164e;
$custom-light: #a5607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a164e",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 326.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.1432,
    "h": 351.9
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#7A164E
secondary
#3DAF6F
accent
#EC893C
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7A164E

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

Preview Lab → · Contrast checker → · Palette generator →

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