#7A173C#7A173C

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

Color values

HEX#7A173C
RGBrgb(122, 23, 60)
HSLhsl(338, 68%, 28%)
HSVhsv(338, 81%, 48%)
CMYKcmyk(0%, 81.1%, 50.8%, 52.2%)
CIE-LABlab(26.96, 43.99, 3.54)
CIE-LCHlch(26.96, 44.14, 4.61°)
OKLaboklab(38.79% 0.1347 0.0095)
OKLCHoklch(38.79% 0.135 4)
XYZxyz(9.1488, 5.0779, 4.7725)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A173C #177A55
analogous
#7A176D #7A173C #7A2317
triadic
#7A173C #3C7A17 #173C7A
tetradic
#7A173C #6D7A17 #177A55 #23177A
square
#7A173C #6D7A17 #177A55 #23177A
split-complementary
#7A173C #177A23 #176D7A
monochromatic
#1A050D #470D23 #7A173C #AD2155 #D93371

Accessibility & contrast

On white

10.42
#7A173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A173C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A173C#FFFFFF#000000##FFFFFF
##7A173C1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333D
Deuteranopia (green-blind)
#4A473A
Tritanopia (blue-blind)
#850027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a173c;
/* rgb */ color: rgb(122, 23, 60);
/* oklch */ color: oklch(38.8% 0.135 4.0);
Tailwind
colors: {
  custom: {
    50: '#a65f71',
    500: '#7a173c',
    950: '#000000',
  },
}
SCSS
$custom: #7a173c;
$custom-light: #a65f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7a173c",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 337.576,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.13507,
    "h": 4
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#7A173C
secondary
#3EAF85
accent
#EBAA3D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A173C

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

Preview Lab → · Contrast checker → · Palette generator →

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