#7C173F#7C173F

#7C173F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 2.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7C173F
RGBrgb(124, 23, 63)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 81%, 49%)
CMYKcmyk(0%, 81.5%, 49.2%, 51.4%)
CIE-LABlab(27.46, 44.86, 2.29)
CIE-LCHlch(27.46, 44.92, 2.93°)
OKLaboklab(39.26% 0.1376 0.0064)
OKLCHoklch(39.26% 0.138 2.6)
XYZxyz(9.5166, 5.2581, 5.2154)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C173F #177C54
analogous
#7C1772 #7C173F #7C2217
triadic
#7C173F #3F7C17 #173F7C
tetradic
#7C173F #727C17 #177C54 #22177C
square
#7C173F #727C17 #177C54 #22177C
split-complementary
#7C173F #177C22 #17727C
monochromatic
#1A050D #480D25 #7C173F #B02159 #D93476

Accessibility & contrast

On white

10.24
#7C173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C173F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C173F#FFFFFF#000000##FFFFFF
##7C173F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303440
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#870029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c173f;
/* rgb */ color: rgb(124, 23, 63);
/* oklch */ color: oklch(39.3% 0.138 2.6);
Tailwind
colors: {
  custom: {
    50: '#a76073',
    500: '#7c173f',
    950: '#000000',
  },
}
SCSS
$custom: #7c173f;
$custom-light: #a76073;
$custom-dark: #000000;
JSON
{
  "hex": "#7c173f",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 336.238,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.13775,
    "h": 2.6
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#7C173F
secondary
#3EB183
accent
#ECA63C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C173F

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

Preview Lab → · Contrast checker → · Palette generator →

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