#7A173F#7A173F

#7A173F is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.136 H 2.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7A173F
RGBrgb(122, 23, 63)
HSLhsl(336, 68%, 28%)
HSVhsv(336, 81%, 48%)
CMYKcmyk(0%, 81.1%, 48.4%, 52.2%)
CIE-LABlab(27.05, 44.28, 1.65)
CIE-LCHlch(27.05, 44.31, 2.13°)
OKLaboklab(38.89% 0.1359 0.0047)
OKLCHoklch(38.89% 0.136 2)
XYZxyz(9.2304, 5.1105, 5.2020)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A173F #177A52
analogous
#7A1770 #7A173F #7A2117
triadic
#7A173F #3F7A17 #173F7A
tetradic
#7A173F #707A17 #177A52 #21177A
square
#7A173F #707A17 #177A52 #21177A
split-complementary
#7A173F #177A21 #17707A
monochromatic
#1A050D #470D24 #7A173F #AD215A #D93376

Accessibility & contrast

On white

10.39
#7A173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A173F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A173F#FFFFFF#000000##FFFFFF
##7A173F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3440
Deuteranopia (green-blind)
#49473D
Tritanopia (blue-blind)
#850029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a173f;
/* rgb */ color: rgb(122, 23, 63);
/* oklch */ color: oklch(38.9% 0.136 2.0);
Tailwind
colors: {
  custom: {
    50: '#a55f73',
    500: '#7a173f',
    950: '#000000',
  },
}
SCSS
$custom: #7a173f;
$custom-light: #a55f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7a173f",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 335.758,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.13596,
    "h": 2
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#7A173F
secondary
#3EAF81
accent
#EBA53D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A173F

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

Preview Lab → · Contrast checker → · Palette generator →

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