#7A173A#7A173A

#7A173A is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.135 H 5.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7A173A
RGBrgb(122, 23, 58)
HSLhsl(339, 68%, 28%)
HSVhsv(339, 81%, 48%)
CMYKcmyk(0%, 81.1%, 52.5%, 52.2%)
CIE-LABlab(26.90, 43.81, 4.82)
CIE-LCHlch(26.90, 44.08, 6.27°)
OKLaboklab(38.73% 0.134 0.0126)
OKLCHoklch(38.73% 0.135 5.4)
XYZxyz(9.0970, 5.0571, 4.4993)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A173A #177A57
analogous
#7A176B #7A173A #7A2517
triadic
#7A173A #3A7A17 #173A7A
tetradic
#7A173A #6B7A17 #177A57 #25177A
square
#7A173A #6B7A17 #177A57 #25177A
split-complementary
#7A173A #177A25 #176B7A
monochromatic
#1A050C #470D22 #7A173A #AD2152 #D9336D

Accessibility & contrast

On white

10.44
#7A173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7A173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A173A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A173A#FFFFFF#000000##FFFFFF
##7A173A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333B
Deuteranopia (green-blind)
#4A4738
Tritanopia (blue-blind)
#850026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a173a;
/* rgb */ color: rgb(122, 23, 58);
/* oklch */ color: oklch(38.7% 0.135 5.4);
Tailwind
colors: {
  custom: {
    50: '#a65f6f',
    500: '#7a173a',
    950: '#000000',
  },
}
SCSS
$custom: #7a173a;
$custom-light: #a65f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a173a",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 338.788,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.13456,
    "h": 5.4
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#7A173A
secondary
#3EAF87
accent
#EBAD3D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A173A

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

Preview Lab → · Contrast checker → · Palette generator →

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