#7D175C#7D175C

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

Color values

HEX#7D175C
RGBrgb(125, 23, 92)
HSLhsl(319, 69%, 29%)
HSVhsv(319, 82%, 49%)
CMYKcmyk(0%, 81.6%, 26.4%, 51%)
CIE-LABlab(28.76, 48.45, -15.02)
CIE-LCHlch(28.76, 50.72, 342.77°)
OKLaboklab(40.61% 0.1469 -0.04)
OKLCHoklch(40.61% 0.152 344.8)
XYZxyz(10.6961, 5.7467, 10.6691)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D175C #177D38
analogous
#6B177D #7D175C #7D1729
triadic
#7D175C #5C7D17 #175C7D
tetradic
#7D175C #7D6B17 #177D38 #17297D
square
#7D175C #7D6B17 #177D38 #17297D
split-complementary
#7D175C #297D17 #177D6B
monochromatic
#1A0513 #490D36 #7D175C #B12182 #DA35A4

Accessibility & contrast

On white

9.77
#7D175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D175C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D175C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D175C#FFFFFF#000000##FFFFFF
##7D175C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#444A5A
Tritanopia (blue-blind)
#861538
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d175c;
/* rgb */ color: rgb(125, 23, 92);
/* oklch */ color: oklch(40.6% 0.152 344.8);
Tailwind
colors: {
  custom: {
    50: '#a6618a',
    500: '#7d175c',
    950: '#000000',
  },
}
SCSS
$custom: #7d175c;
$custom-light: #a6618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d175c",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 319.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.15226,
    "h": 344.8
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#7D175C
secondary
#3EB263
accent
#EC753C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D175C

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

Preview Lab → · Contrast checker → · Palette generator →

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