#7C176B#7C176B

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

Color values

HEX#7C176B
RGBrgb(124, 23, 107)
HSLhsl(310, 69%, 29%)
HSVhsv(310, 81%, 49%)
CMYKcmyk(0%, 81.5%, 13.7%, 51.4%)
CIE-LABlab(29.31, 50.35, -23.92)
CIE-LCHlch(29.31, 55.74, 334.58°)
OKLaboklab(41.21% 0.1479 -0.0653)
OKLCHoklch(41.21% 0.162 336.2)
XYZxyz(11.2726, 5.9605, 14.4639)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C176B #177C28
analogous
#5B177C #7C176B #7C1739
triadic
#7C176B #6B7C17 #176B7C
tetradic
#7C176B #7C5B17 #177C28 #17397C
square
#7C176B #7C5B17 #177C28 #17397C
split-complementary
#7C176B #397C17 #177C5B
monochromatic
#1A0516 #480D3E #7C176B #B02198 #D934BE

Accessibility & contrast

On white

9.58
#7C176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C176B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C176B#FFFFFF#000000##FFFFFF
##7C176B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6D
Deuteranopia (green-blind)
#3E4A69
Tritanopia (blue-blind)
#831F40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c176b;
/* rgb */ color: rgb(124, 23, 107);
/* oklch */ color: oklch(41.2% 0.162 336.2);
Tailwind
colors: {
  custom: {
    50: '#a56195',
    500: '#7c176b',
    950: '#000000',
  },
}
SCSS
$custom: #7c176b;
$custom-light: #a56195;
$custom-dark: #000000;
JSON
{
  "hex": "#7c176b",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 310.099,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41214,
    "c": 0.16171,
    "h": 336.2
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#7C176B
secondary
#3EB151
accent
#EC5A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C176B

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

Preview Lab → · Contrast checker → · Palette generator →

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