#7C174F#7C174F

#7C174F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 352.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7C174F
RGBrgb(124, 23, 79)
HSLhsl(327, 69%, 29%)
HSVhsv(327, 81%, 49%)
CMYKcmyk(0%, 81.5%, 36.3%, 51.4%)
CIE-LABlab(28.02, 46.56, -7.60)
CIE-LCHlch(28.02, 47.17, 350.72°)
OKLaboklab(39.86% 0.1429 -0.0196)
OKLCHoklch(39.86% 0.144 352.2)
XYZxyz(10.0305, 5.4636, 7.9220)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C174F #177C44
analogous
#77177C #7C174F #7C171D
triadic
#7C174F #4F7C17 #174F7C
tetradic
#7C174F #7C7717 #177C44 #171D7C
square
#7C174F #7C7717 #177C44 #171D7C
split-complementary
#7C174F #1D7C17 #177C77
monochromatic
#1A0510 #480D2E #7C174F #B02170 #D93490

Accessibility & contrast

On white

10.04
#7C174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7C174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C174F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C174F#FFFFFF#000000##FFFFFF
##7C174F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#47494D
Tritanopia (blue-blind)
#860C31
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c174f;
/* rgb */ color: rgb(124, 23, 79);
/* oklch */ color: oklch(39.9% 0.144 352.2);
Tailwind
colors: {
  custom: {
    50: '#a66080',
    500: '#7c174f',
    950: '#000000',
  },
}
SCSS
$custom: #7c174f;
$custom-light: #a66080;
$custom-dark: #000000;
JSON
{
  "hex": "#7c174f",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 326.733,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39855,
    "c": 0.14423,
    "h": 352.2
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#7C174F
secondary
#3EB171
accent
#EC8A3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C174F

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

Preview Lab → · Contrast checker → · Palette generator →

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