#7C174C#7C174C

#7C174C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.143 H 354.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7C174C
RGBrgb(124, 23, 76)
HSLhsl(329, 69%, 29%)
HSVhsv(329, 81%, 49%)
CMYKcmyk(0%, 81.5%, 38.7%, 51.4%)
CIE-LABlab(27.90, 46.21, -5.78)
CIE-LCHlch(27.90, 46.57, 352.87°)
OKLaboklab(39.73% 0.142 -0.0147)
OKLCHoklch(39.73% 0.143 354.1)
XYZxyz(9.9237, 5.4209, 7.3598)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C174C #177C47
analogous
#7A177C #7C174C #7C171A
triadic
#7C174C #4C7C17 #174C7C
tetradic
#7C174C #7C7A17 #177C47 #171A7C
square
#7C174C #7C7A17 #177C47 #171A7C
split-complementary
#7C174C #1A7C17 #177C7A
monochromatic
#1A0510 #480D2C #7C174C #B0216C #D9348B

Accessibility & contrast

On white

10.08
#7C174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C174C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C174C#FFFFFF#000000##FFFFFF
##7C174C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#48484A
Tritanopia (blue-blind)
#86092F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c174c;
/* rgb */ color: rgb(124, 23, 76);
/* oklch */ color: oklch(39.7% 0.143 354.1);
Tailwind
colors: {
  custom: {
    50: '#a6607e',
    500: '#7c174c',
    950: '#000000',
  },
}
SCSS
$custom: #7c174c;
$custom-light: #a6607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c174c",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 328.515,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39733,
    "c": 0.14278,
    "h": 354.1
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#7C174C
secondary
#3EB175
accent
#EC903C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C174C

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

Preview Lab → · Contrast checker → · Palette generator →

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