#7A173D#7A173D

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

Color values

HEX#7A173D
RGBrgb(122, 23, 61)
HSLhsl(337, 68%, 28%)
HSVhsv(337, 81%, 48%)
CMYKcmyk(0%, 81.1%, 50%, 52.2%)
CIE-LABlab(26.99, 44.09, 2.91)
CIE-LCHlch(26.99, 44.18, 3.78°)
OKLaboklab(38.82% 0.1351 0.0079)
OKLCHoklch(38.82% 0.135 3.3)
XYZxyz(9.1755, 5.0886, 4.9130)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A173D #177A54
analogous
#7A176E #7A173D #7A2217
triadic
#7A173D #3D7A17 #173D7A
tetradic
#7A173D #6E7A17 #177A54 #22177A
square
#7A173D #6E7A17 #177A54 #22177A
split-complementary
#7A173D #177A22 #176E7A
monochromatic
#1A050D #470D23 #7A173D #AD2157 #D93372

Accessibility & contrast

On white

10.41
#7A173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A173D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A173D#FFFFFF#000000##FFFFFF
##7A173D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333E
Deuteranopia (green-blind)
#4A473B
Tritanopia (blue-blind)
#850028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a173d;
/* rgb */ color: rgb(122, 23, 61);
/* oklch */ color: oklch(38.8% 0.135 3.3);
Tailwind
colors: {
  custom: {
    50: '#a65f72',
    500: '#7a173d',
    950: '#000000',
  },
}
SCSS
$custom: #7a173d;
$custom-light: #a65f72;
$custom-dark: #000000;
JSON
{
  "hex": "#7a173d",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 336.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38822,
    "c": 0.13535,
    "h": 3.3
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#7A173D
secondary
#3EAF84
accent
#EBA83D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A173D

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

Preview Lab → · Contrast checker → · Palette generator →

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