#7C173C#7C173C

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

Color values

HEX#7C173C
RGBrgb(124, 23, 60)
HSLhsl(338, 69%, 29%)
HSVhsv(338, 81%, 49%)
CMYKcmyk(0%, 81.5%, 51.6%, 51.4%)
CIE-LABlab(27.37, 44.58, 4.19)
CIE-LCHlch(27.37, 44.78, 5.37°)
OKLaboklab(39.17% 0.1364 0.0111)
OKLCHoklch(39.17% 0.137 4.7)
XYZxyz(9.4350, 5.2254, 4.7859)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C173C #177C57
analogous
#7C176F #7C173C #7C2517
triadic
#7C173C #3C7C17 #173C7C
tetradic
#7C173C #6F7C17 #177C57 #25177C
square
#7C173C #6F7C17 #177C57 #25177C
split-complementary
#7C173C #177C25 #176F7C
monochromatic
#1A050C #480D23 #7C173C #B02155 #D93471

Accessibility & contrast

On white

10.27
#7C173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C173C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C173C#FFFFFF#000000##FFFFFF
##7C173C1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343D
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#880027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c173c;
/* rgb */ color: rgb(124, 23, 60);
/* oklch */ color: oklch(39.2% 0.137 4.7);
Tailwind
colors: {
  custom: {
    50: '#a76071',
    500: '#7c173c',
    950: '#000000',
  },
}
SCSS
$custom: #7c173c;
$custom-light: #a76071;
$custom-dark: #000000;
JSON
{
  "hex": "#7c173c",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 338.02,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39167,
    "c": 0.1369,
    "h": 4.7
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#7C173C
secondary
#3EB187
accent
#ECAB3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7C173C

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

Preview Lab → · Contrast checker → · Palette generator →

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