#7C175A#7C175A

#7C175A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 345.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7C175A
RGBrgb(124, 23, 90)
HSLhsl(320, 69%, 29%)
HSVhsv(320, 81%, 49%)
CMYKcmyk(0%, 81.5%, 27.4%, 51.4%)
CIE-LABlab(28.48, 47.93, -14.17)
CIE-LCHlch(28.48, 49.98, 343.53°)
OKLaboklab(40.34% 0.1456 -0.0377)
OKLCHoklch(40.34% 0.15 345.5)
XYZxyz(10.4645, 5.6372, 10.2079)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C175A #177C39
analogous
#6C177C #7C175A #7C1728
triadic
#7C175A #5A7C17 #175A7C
tetradic
#7C175A #7C6C17 #177C39 #17287C
square
#7C175A #7C6C17 #177C39 #17287C
split-complementary
#7C175A #287C17 #177C6C
monochromatic
#1A0513 #480D35 #7C175A #B0217F #D934A2

Accessibility & contrast

On white

9.87
#7C175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C175A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C175A#FFFFFF#000000##FFFFFF
##7C175A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#851537
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c175a;
/* rgb */ color: rgb(124, 23, 90);
/* oklch */ color: oklch(40.3% 0.150 345.5);
Tailwind
colors: {
  custom: {
    50: '#a66188',
    500: '#7c175a',
    950: '#000000',
  },
}
SCSS
$custom: #7c175a;
$custom-light: #a66188;
$custom-dark: #000000;
JSON
{
  "hex": "#7c175a",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 320.198,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.15036,
    "h": 345.5
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#7C175A
secondary
#3EB165
accent
#EC773C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C175A

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

Preview Lab → · Contrast checker → · Palette generator →

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