#7A173B#7A173B

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

Color values

HEX#7A173B
RGBrgb(122, 23, 59)
HSLhsl(338, 68%, 28%)
HSVhsv(338, 81%, 48%)
CMYKcmyk(0%, 81.1%, 51.6%, 52.2%)
CIE-LABlab(26.93, 43.90, 4.18)
CIE-LCHlch(26.93, 44.10, 5.44°)
OKLaboklab(38.76% 0.1344 0.0111)
OKLCHoklch(38.76% 0.135 4.7)
XYZxyz(9.1227, 5.0674, 4.6346)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A173B #177A56
analogous
#7A176C #7A173B #7A2417
triadic
#7A173B #3B7A17 #173B7A
tetradic
#7A173B #6C7A17 #177A56 #24177A
square
#7A173B #6C7A17 #177A56 #24177A
split-complementary
#7A173B #177A24 #176C7A
monochromatic
#1A050C #470D22 #7A173B #AD2154 #D9336F

Accessibility & contrast

On white

10.43
#7A173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A173B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A173B#FFFFFF#000000##FFFFFF
##7A173B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a173b;
/* rgb */ color: rgb(122, 23, 59);
/* oklch */ color: oklch(38.8% 0.135 4.7);
Tailwind
colors: {
  custom: {
    50: '#a65f70',
    500: '#7a173b',
    950: '#000000',
  },
}
SCSS
$custom: #7a173b;
$custom-light: #a65f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7a173b",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 338.182,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.13481,
    "h": 4.7
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#7A173B
secondary
#3EAF86
accent
#EBAC3D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A173B

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

Preview Lab → · Contrast checker → · Palette generator →

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