#7A173E#7A173E

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

Color values

HEX#7A173E
RGBrgb(122, 23, 62)
HSLhsl(336, 68%, 28%)
HSVhsv(336, 81%, 48%)
CMYKcmyk(0%, 81.1%, 49.2%, 52.2%)
CIE-LABlab(27.02, 44.18, 2.28)
CIE-LCHlch(27.02, 44.24, 2.95°)
OKLaboklab(38.86% 0.1355 0.0063)
OKLCHoklch(38.86% 0.136 2.7)
XYZxyz(9.2027, 5.0994, 5.0562)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A173E #177A53
analogous
#7A176F #7A173E #7A2217
triadic
#7A173E #3E7A17 #173E7A
tetradic
#7A173E #6F7A17 #177A53 #22177A
square
#7A173E #6F7A17 #177A53 #22177A
split-complementary
#7A173E #177A22 #176F7A
monochromatic
#1A050D #470D24 #7A173E #AD2158 #D93374

Accessibility & contrast

On white

10.40
#7A173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A173E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A173E#FFFFFF#000000##FFFFFF
##7A173E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F343F
Deuteranopia (green-blind)
#4A473C
Tritanopia (blue-blind)
#850028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a173e;
/* rgb */ color: rgb(122, 23, 62);
/* oklch */ color: oklch(38.9% 0.136 2.7);
Tailwind
colors: {
  custom: {
    50: '#a55f73',
    500: '#7a173e',
    950: '#000000',
  },
}
SCSS
$custom: #7a173e;
$custom-light: #a55f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7a173e",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 336.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.13565,
    "h": 2.7
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#7A173E
secondary
#3EAF82
accent
#EBA63D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A173E

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

Preview Lab → · Contrast checker → · Palette generator →

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