#7C174E#7C174E

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

Color values

HEX#7C174E
RGBrgb(124, 23, 78)
HSLhsl(327, 69%, 29%)
HSVhsv(327, 81%, 49%)
CMYKcmyk(0%, 81.5%, 37.1%, 51.4%)
CIE-LABlab(27.98, 46.44, -7.00)
CIE-LCHlch(27.98, 46.96, 351.43°)
OKLaboklab(39.81% 0.1426 -0.018)
OKLCHoklch(39.81% 0.144 352.8)
XYZxyz(9.9944, 5.4492, 7.7317)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C174E #177C45
analogous
#78177C #7C174E #7C171C
triadic
#7C174E #4E7C17 #174E7C
tetradic
#7C174E #7C7817 #177C45 #171C7C
square
#7C174E #7C7817 #177C45 #171C7C
split-complementary
#7C174E #1C7C17 #177C78
monochromatic
#1A0510 #480D2E #7C174E #B0216E #D9348E

Accessibility & contrast

On white

10.05
#7C174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C174E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C174E#FFFFFF#000000##FFFFFF
##7C174E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#860B30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c174e;
/* rgb */ color: rgb(124, 23, 78);
/* oklch */ color: oklch(39.8% 0.144 352.8);
Tailwind
colors: {
  custom: {
    50: '#a6607f',
    500: '#7c174e',
    950: '#000000',
  },
}
SCSS
$custom: #7c174e;
$custom-light: #a6607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c174e",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 327.327,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.14374,
    "h": 352.8
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#7C174E
secondary
#3EB172
accent
#EC8C3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C174E

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

Preview Lab → · Contrast checker → · Palette generator →

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