#7D176A#7D176A

#7D176A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.162 H 337.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7D176A
RGBrgb(125, 23, 106)
HSLhsl(311, 69%, 29%)
HSVhsv(311, 82%, 49%)
CMYKcmyk(0%, 81.6%, 15.2%, 51%)
CIE-LABlab(29.45, 50.43, -23.05)
CIE-LCHlch(29.45, 55.45, 335.44°)
OKLaboklab(41.33% 0.1489 -0.0628)
OKLCHoklch(41.33% 0.162 337.1)
XYZxyz(11.3656, 6.0145, 14.1952)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D176A #177D2A
analogous
#5D177D #7D176A #7D1737
triadic
#7D176A #6A7D17 #176A7D
tetradic
#7D176A #7D5D17 #177D2A #17377D
square
#7D176A #7D5D17 #177D2A #17377D
split-complementary
#7D176A #377D17 #177D5D
monochromatic
#1A0516 #490D3E #7D176A #B12196 #DA35BB

Accessibility & contrast

On white

9.53
#7D176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D176A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D176A#FFFFFF#000000##FFFFFF
##7D176A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#841E40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d176a;
/* rgb */ color: rgb(125, 23, 106);
/* oklch */ color: oklch(41.3% 0.162 337.1);
Tailwind
colors: {
  custom: {
    50: '#a66295',
    500: '#7d176a',
    950: '#000000',
  },
}
SCSS
$custom: #7d176a;
$custom-light: #a66295;
$custom-dark: #000000;
JSON
{
  "hex": "#7d176a",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 311.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.16156,
    "h": 337.1
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#7D176A
secondary
#3EB254
accent
#EC5D3C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D176A

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

Preview Lab → · Contrast checker → · Palette generator →

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