#7D176B#7D176B

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

Color values

HEX#7D176B
RGBrgb(125, 23, 107)
HSLhsl(311, 69%, 29%)
HSVhsv(311, 82%, 49%)
CMYKcmyk(0%, 81.6%, 14.4%, 51%)
CIE-LABlab(29.50, 50.58, -23.61)
CIE-LCHlch(29.50, 55.82, 334.98°)
OKLaboklab(41.39% 0.149 -0.0644)
OKLCHoklch(41.39% 0.162 336.6)
XYZxyz(11.4179, 6.0354, 14.4707)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D176B #177D29
analogous
#5C177D #7D176B #7D1738
triadic
#7D176B #6B7D17 #176B7D
tetradic
#7D176B #7D5C17 #177D29 #17387D
square
#7D176B #7D5C17 #177D29 #17387D
split-complementary
#7D176B #387D17 #177D5C
monochromatic
#1A0516 #490D3F #7D176B #B12197 #DA35BD

Accessibility & contrast

On white

9.52
#7D176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D176B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D176B#FFFFFF#000000##FFFFFF
##7D176B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#841F40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d176b;
/* rgb */ color: rgb(125, 23, 107);
/* oklch */ color: oklch(41.4% 0.162 336.6);
Tailwind
colors: {
  custom: {
    50: '#a66295',
    500: '#7d176b',
    950: '#000000',
  },
}
SCSS
$custom: #7d176b;
$custom-light: #a66295;
$custom-dark: #000000;
JSON
{
  "hex": "#7d176b",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 310.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.16227,
    "h": 336.6
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#7D176B
secondary
#3EB252
accent
#EC5B3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D176B

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

Preview Lab → · Contrast checker → · Palette generator →

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