#7C174D#7C174D

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

Color values

HEX#7C174D
RGBrgb(124, 23, 77)
HSLhsl(328, 69%, 29%)
HSVhsv(328, 81%, 49%)
CMYKcmyk(0%, 81.5%, 37.9%, 51.4%)
CIE-LABlab(27.94, 46.32, -6.39)
CIE-LCHlch(27.94, 46.76, 352.15°)
OKLaboklab(39.77% 0.1423 -0.0163)
OKLCHoklch(39.77% 0.143 353.5)
XYZxyz(9.9588, 5.4349, 7.5444)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C174D #177C46
analogous
#79177C #7C174D #7C171B
triadic
#7C174D #4D7C17 #174D7C
tetradic
#7C174D #7C7917 #177C46 #171B7C
square
#7C174D #7C7917 #177C46 #171B7C
split-complementary
#7C174D #1B7C17 #177C79
monochromatic
#1A0510 #480D2D #7C174D #B0216D #D9348C

Accessibility & contrast

On white

10.06
#7C174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C174D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C174D#FFFFFF#000000##FFFFFF
##7C174D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#48494B
Tritanopia (blue-blind)
#860A30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c174d;
/* rgb */ color: rgb(124, 23, 77);
/* oklch */ color: oklch(39.8% 0.143 353.5);
Tailwind
colors: {
  custom: {
    50: '#a6607e',
    500: '#7c174d',
    950: '#000000',
  },
}
SCSS
$custom: #7c174d;
$custom-light: #a6607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c174d",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 327.921,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.14325,
    "h": 353.5
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#7C174D
secondary
#3EB173
accent
#EC8E3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C174D

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

Preview Lab → · Contrast checker → · Palette generator →

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