#7C175D#7C175D

#7C175D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.152 H 343.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7C175D
RGBrgb(124, 23, 93)
HSLhsl(318, 69%, 29%)
HSVhsv(318, 81%, 49%)
CMYKcmyk(0%, 81.5%, 25%, 51.4%)
CIE-LABlab(28.61, 48.33, -15.93)
CIE-LCHlch(28.61, 50.88, 341.76°)
OKLaboklab(40.48% 0.1461 -0.0426)
OKLCHoklch(40.48% 0.152 343.8)
XYZxyz(10.5948, 5.6893, 10.8940)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C175D #177C36
analogous
#69177C #7C175D #7C172B
triadic
#7C175D #5D7C17 #175D7C
tetradic
#7C175D #7C6917 #177C36 #172B7C
square
#7C175D #7C6917 #177C36 #172B7C
split-complementary
#7C175D #2B7C17 #177C69
monochromatic
#1A0513 #480D36 #7C175D #B02184 #D934A7

Accessibility & contrast

On white

9.82
#7C175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C175D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C175D#FFFFFF#000000##FFFFFF
##7C175D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#851738
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c175d;
/* rgb */ color: rgb(124, 23, 93);
/* oklch */ color: oklch(40.5% 0.152 343.8);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7c175d',
    950: '#000000',
  },
}
SCSS
$custom: #7c175d;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c175d",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 318.416,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.15222,
    "h": 343.8
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7C175D
secondary
#3EB161
accent
#EC723C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C175D

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

Preview Lab → · Contrast checker → · Palette generator →

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