#7A174E#7A174E

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

Color values

HEX#7A174E
RGBrgb(122, 23, 78)
HSLhsl(327, 68%, 28%)
HSVhsv(327, 81%, 48%)
CMYKcmyk(0%, 81.1%, 36.1%, 52.2%)
CIE-LABlab(27.58, 45.89, -7.64)
CIE-LCHlch(27.58, 46.52, 350.55°)
OKLaboklab(39.45% 0.1408 -0.0197)
OKLCHoklch(39.45% 0.142 352)
XYZxyz(9.7082, 5.3016, 7.7183)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A174E #177A43
analogous
#74177A #7A174E #7A171C
triadic
#7A174E #4E7A17 #174E7A
tetradic
#7A174E #7A7417 #177A43 #171C7A
square
#7A174E #7A7417 #177A43 #171C7A
split-complementary
#7A174E #1C7A17 #177A74
monochromatic
#1A0510 #470D2D #7A174E #AD216F #D9338F

Accessibility & contrast

On white

10.19
#7A174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7A174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A174E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A174E#FFFFFF#000000##FFFFFF
##7A174E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#46474C
Tritanopia (blue-blind)
#840D30
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a174e;
/* rgb */ color: rgb(122, 23, 78);
/* oklch */ color: oklch(39.4% 0.142 352.0);
Tailwind
colors: {
  custom: {
    50: '#a5607f',
    500: '#7a174e',
    950: '#000000',
  },
}
SCSS
$custom: #7a174e;
$custom-light: #a5607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a174e",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 326.667,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.14218,
    "h": 352
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#7A174E
secondary
#3EAF70
accent
#EB8A3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A174E

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

Preview Lab → · Contrast checker → · Palette generator →

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