#7D174F#7D174F

#7D174F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 352.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7D174F
RGBrgb(125, 23, 79)
HSLhsl(327, 69%, 29%)
HSVhsv(327, 82%, 49%)
CMYKcmyk(0%, 81.6%, 36.8%, 51%)
CIE-LABlab(28.22, 46.83, -7.28)
CIE-LCHlch(28.22, 47.39, 351.16°)
OKLaboklab(40.04% 0.1438 -0.0187)
OKLCHoklch(40.04% 0.145 352.6)
XYZxyz(10.1758, 5.5385, 7.9288)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D174F #177D45
analogous
#78177D #7D174F #7D171C
triadic
#7D174F #4F7D17 #174F7D
tetradic
#7D174F #7D7817 #177D45 #171C7D
square
#7D174F #7D7817 #177D45 #171C7D
split-complementary
#7D174F #1C7D17 #177D78
monochromatic
#1A0510 #490D2E #7D174F #B12170 #DA358F

Accessibility & contrast

On white

9.96
#7D174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D174F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D174F#FFFFFF#000000##FFFFFF
##7D174F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#870B31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d174f;
/* rgb */ color: rgb(125, 23, 79);
/* oklch */ color: oklch(40.0% 0.145 352.6);
Tailwind
colors: {
  custom: {
    50: '#a76080',
    500: '#7d174f',
    950: '#000000',
  },
}
SCSS
$custom: #7d174f;
$custom-light: #a76080;
$custom-dark: #000000;
JSON
{
  "hex": "#7d174f",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 327.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.145,
    "h": 352.6
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#7D174F
secondary
#3EB272
accent
#EC8B3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D174F

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

Preview Lab → · Contrast checker → · Palette generator →

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