#7A174C#7A174C

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

Color values

HEX#7A174C
RGBrgb(122, 23, 76)
HSLhsl(328, 68%, 28%)
HSVhsv(328, 81%, 48%)
CMYKcmyk(0%, 81.1%, 37.7%, 52.2%)
CIE-LABlab(27.50, 45.66, -6.42)
CIE-LCHlch(27.50, 46.11, 351.99°)
OKLaboklab(39.37% 0.1402 -0.0164)
OKLCHoklch(39.37% 0.141 353.3)
XYZxyz(9.6376, 5.2734, 7.3464)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A174C #177A45
analogous
#76177A #7A174C #7A171A
triadic
#7A174C #4C7A17 #174C7A
tetradic
#7A174C #7A7617 #177A45 #171A7A
square
#7A174C #7A7617 #177A45 #171A7A
split-complementary
#7A174C #1A7A17 #177A76
monochromatic
#1A0510 #470D2C #7A174C #AD216C #D9338C

Accessibility & contrast

On white

10.22
#7A174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A174C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A174C#FFFFFF#000000##FFFFFF
##7A174C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354D
Deuteranopia (green-blind)
#47474A
Tritanopia (blue-blind)
#840B2F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a174c;
/* rgb */ color: rgb(122, 23, 76);
/* oklch */ color: oklch(39.4% 0.141 353.3);
Tailwind
colors: {
  custom: {
    50: '#a5607e',
    500: '#7a174c',
    950: '#000000',
  },
}
SCSS
$custom: #7a174c;
$custom-light: #a5607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a174c",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 327.879,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.1412,
    "h": 353.3
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#7A174C
secondary
#3EAF72
accent
#EB8E3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A174C

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

Preview Lab → · Contrast checker → · Palette generator →

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