#7C173D#7C173D

#7C173D is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.137 H 4.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7C173D
RGBrgb(124, 23, 61)
HSLhsl(337, 69%, 29%)
HSVhsv(337, 81%, 49%)
CMYKcmyk(0%, 81.5%, 50.8%, 51.4%)
CIE-LABlab(27.40, 44.67, 3.56)
CIE-LCHlch(27.40, 44.81, 4.55°)
OKLaboklab(39.2% 0.1368 0.0095)
OKLCHoklch(39.2% 0.137 4)
XYZxyz(9.4617, 5.2361, 4.9264)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C173D #177C56
analogous
#7C1770 #7C173D #7C2417
triadic
#7C173D #3D7C17 #173D7C
tetradic
#7C173D #707C17 #177C56 #24177C
square
#7C173D #707C17 #177C56 #24177C
split-complementary
#7C173D #177C24 #17707C
monochromatic
#1A050D #480D24 #7C173D #B02156 #D93472

Accessibility & contrast

On white

10.26
#7C173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7C173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C173D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C173D#FFFFFF#000000##FFFFFF
##7C173D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343E
Deuteranopia (green-blind)
#4B483B
Tritanopia (blue-blind)
#870028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c173d;
/* rgb */ color: rgb(124, 23, 61);
/* oklch */ color: oklch(39.2% 0.137 4.0);
Tailwind
colors: {
  custom: {
    50: '#a76072',
    500: '#7c173d',
    950: '#000000',
  },
}
SCSS
$custom: #7c173d;
$custom-light: #a76072;
$custom-dark: #000000;
JSON
{
  "hex": "#7c173d",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 337.426,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.13717,
    "h": 4
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#7C173D
secondary
#3EB186
accent
#ECAA3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7C173D

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

Preview Lab → · Contrast checker → · Palette generator →

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