#7C174A#7C174A

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

Color values

HEX#7C174A
RGBrgb(124, 23, 74)
HSLhsl(330, 69%, 29%)
HSVhsv(330, 81%, 49%)
CMYKcmyk(0%, 81.5%, 40.3%, 51.4%)
CIE-LABlab(27.83, 45.99, -4.55)
CIE-LCHlch(27.83, 46.21, 354.35°)
OKLaboklab(39.66% 0.1414 -0.0114)
OKLCHoklch(39.66% 0.142 355.4)
XYZxyz(9.8553, 5.3935, 6.9993)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C174A #177C49
analogous
#7C177C #7C174A #7C1718
triadic
#7C174A #4A7C17 #174A7C
tetradic
#7C174A #7C7C17 #177C49 #17187C
square
#7C174A #7C7C17 #177C49 #17187C
split-complementary
#7C174A #187C17 #177C7C
monochromatic
#1A050F #480D2B #7C174A #B02169 #D93488

Accessibility & contrast

On white

10.10
#7C174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C174A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C174A#FFFFFF#000000##FFFFFF
##7C174A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364B
Deuteranopia (green-blind)
#494848
Tritanopia (blue-blind)
#86082E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c174a;
/* rgb */ color: rgb(124, 23, 74);
/* oklch */ color: oklch(39.7% 0.142 355.4);
Tailwind
colors: {
  custom: {
    50: '#a6607c',
    500: '#7c174a',
    950: '#000000',
  },
}
SCSS
$custom: #7c174a;
$custom-light: #a6607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c174a",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 329.703,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39655,
    "c": 0.14187,
    "h": 355.4
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#7C174A
secondary
#3EB177
accent
#EC933C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C174A

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

Preview Lab → · Contrast checker → · Palette generator →

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