#7C173A#7C173A

#7C173A is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 6.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7C173A
RGBrgb(124, 23, 58)
HSLhsl(339, 69%, 29%)
HSVhsv(339, 81%, 49%)
CMYKcmyk(0%, 81.5%, 53.2%, 51.4%)
CIE-LABlab(27.31, 44.40, 5.46)
CIE-LCHlch(27.31, 44.74, 7.01°)
OKLaboklab(39.11% 0.1357 0.0142)
OKLCHoklch(39.11% 0.136 6)
XYZxyz(9.3831, 5.2047, 4.5127)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C173A #177C59
analogous
#7C176D #7C173A #7C2717
triadic
#7C173A #3A7C17 #173A7C
tetradic
#7C173A #6D7C17 #177C59 #27177C
square
#7C173A #6D7C17 #177C59 #27177C
split-complementary
#7C173A #177C27 #176D7C
monochromatic
#1A050C #480D22 #7C173A #B02152 #D9346D

Accessibility & contrast

On white

10.29
#7C173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C173A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C173A#FFFFFF#000000##FFFFFF
##7C173A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343B
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#880026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c173a;
/* rgb */ color: rgb(124, 23, 58);
/* oklch */ color: oklch(39.1% 0.136 6.0);
Tailwind
colors: {
  custom: {
    50: '#a7606f',
    500: '#7c173a',
    950: '#000000',
  },
}
SCSS
$custom: #7c173a;
$custom-light: #a7606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c173a",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 339.208,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39106,
    "c": 0.13641,
    "h": 6
  },
  "luminance": 0.05203
}

Semantic roles & 50–950 ramp

primary
#7C173A
secondary
#3EB189
accent
#ECAF3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7C173A

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

Preview Lab → · Contrast checker → · Palette generator →

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