#7A174F#7A174F

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

Color values

HEX#7A174F
RGBrgb(122, 23, 79)
HSLhsl(326, 68%, 28%)
HSVhsv(326, 81%, 48%)
CMYKcmyk(0%, 81.1%, 35.2%, 52.2%)
CIE-LABlab(27.62, 46.01, -8.25)
CIE-LCHlch(27.62, 46.74, 349.84°)
OKLaboklab(39.49% 0.1411 -0.0214)
OKLCHoklch(39.49% 0.143 351.4)
XYZxyz(9.7443, 5.3161, 7.9086)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A174F #177A42
analogous
#73177A #7A174F #7A171D
triadic
#7A174F #4F7A17 #174F7A
tetradic
#7A174F #7A7317 #177A42 #171D7A
square
#7A174F #7A7317 #177A42 #171D7A
split-complementary
#7A174F #1D7A17 #177A73
monochromatic
#1A0511 #470D2E #7A174F #AD2170 #D93391

Accessibility & contrast

On white

10.18
#7A174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A174F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A174F#FFFFFF#000000##FFFFFF
##7A174F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#46484D
Tritanopia (blue-blind)
#840E31
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a174f;
/* rgb */ color: rgb(122, 23, 79);
/* oklch */ color: oklch(39.5% 0.143 351.4);
Tailwind
colors: {
  custom: {
    50: '#a56080',
    500: '#7a174f',
    950: '#000000',
  },
}
SCSS
$custom: #7a174f;
$custom-light: #a56080;
$custom-dark: #000000;
JSON
{
  "hex": "#7a174f",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 326.061,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.1427,
    "h": 351.4
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#7A174F
secondary
#3EAF6F
accent
#EB883D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A174F

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

Preview Lab → · Contrast checker → · Palette generator →

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