#7A174A#7A174A

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

Color values

HEX#7A174A
RGBrgb(122, 23, 74)
HSLhsl(329, 68%, 28%)
HSVhsv(329, 81%, 48%)
CMYKcmyk(0%, 81.1%, 39.3%, 52.2%)
CIE-LABlab(27.42, 45.43, -5.20)
CIE-LCHlch(27.42, 45.72, 353.47°)
OKLaboklab(39.29% 0.1396 -0.0131)
OKLCHoklch(39.29% 0.14 354.6)
XYZxyz(9.5691, 5.2460, 6.9859)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A174A #177A47
analogous
#78177A #7A174A #7A1718
triadic
#7A174A #4A7A17 #174A7A
tetradic
#7A174A #7A7817 #177A47 #17187A
square
#7A174A #7A7817 #177A47 #17187A
split-complementary
#7A174A #187A17 #177A78
monochromatic
#1A0510 #470D2B #7A174A #AD2169 #D93388

Accessibility & contrast

On white

10.25
#7A174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A174A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A174A#FFFFFF#000000##FFFFFF
##7A174A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354B
Deuteranopia (green-blind)
#474748
Tritanopia (blue-blind)
#84092E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a174a;
/* rgb */ color: rgb(122, 23, 74);
/* oklch */ color: oklch(39.3% 0.140 354.6);
Tailwind
colors: {
  custom: {
    50: '#a5607c',
    500: '#7a174a',
    950: '#000000',
  },
}
SCSS
$custom: #7a174a;
$custom-light: #a5607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a174a",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 329.091,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.14025,
    "h": 354.6
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#7A174A
secondary
#3EAF75
accent
#EB913D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A174A

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

Preview Lab → · Contrast checker → · Palette generator →

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