#7A174D#7A174D

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

Color values

HEX#7A174D
RGBrgb(122, 23, 77)
HSLhsl(327, 68%, 28%)
HSVhsv(327, 81%, 48%)
CMYKcmyk(0%, 81.1%, 36.9%, 52.2%)
CIE-LABlab(27.54, 45.77, -7.03)
CIE-LCHlch(27.54, 46.31, 351.27°)
OKLaboklab(39.41% 0.1405 -0.0181)
OKLCHoklch(39.41% 0.142 352.7)
XYZxyz(9.6726, 5.2874, 7.5309)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A174D #177A44
analogous
#75177A #7A174D #7A171B
triadic
#7A174D #4D7A17 #174D7A
tetradic
#7A174D #7A7517 #177A44 #171B7A
square
#7A174D #7A7517 #177A44 #171B7A
split-complementary
#7A174D #1B7A17 #177A75
monochromatic
#1A0510 #470D2C #7A174D #AD216D #D9338D

Accessibility & contrast

On white

10.21
#7A174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A174D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A174D#FFFFFF#000000##FFFFFF
##7A174D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364E
Deuteranopia (green-blind)
#46474B
Tritanopia (blue-blind)
#840C30
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a174d;
/* rgb */ color: rgb(122, 23, 77);
/* oklch */ color: oklch(39.4% 0.142 352.7);
Tailwind
colors: {
  custom: {
    50: '#a5607e',
    500: '#7a174d',
    950: '#000000',
  },
}
SCSS
$custom: #7a174d;
$custom-light: #a5607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a174d",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 327.273,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.14169,
    "h": 352.7
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#7A174D
secondary
#3EAF71
accent
#EB8C3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A174D

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

Preview Lab → · Contrast checker → · Palette generator →

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