#7C166A#7C166A

#7C166A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.162 H 336.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7C166A
RGBrgb(124, 22, 106)
HSLhsl(311, 70%, 29%)
HSVhsv(311, 82%, 49%)
CMYKcmyk(0%, 82.3%, 14.5%, 51.4%)
CIE-LABlab(29.16, 50.48, -23.52)
CIE-LCHlch(29.16, 55.69, 335.02°)
OKLaboklab(41.09% 0.1487 -0.0641)
OKLCHoklch(41.09% 0.162 336.7)
XYZxyz(11.2008, 5.9006, 14.1819)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C166A #167C28
analogous
#5B167C #7C166A #7C1637
triadic
#7C166A #6A7C16 #166A7C
tetradic
#7C166A #7C5B16 #167C28 #16377C
square
#7C166A #7C5B16 #167C28 #16377C
split-complementary
#7C166A #377C16 #167C5B
monochromatic
#1A0516 #480D3E #7C166A #B01F96 #DB32BD

Accessibility & contrast

On white

9.63
#7C166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C166A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C166A#FFFFFF#000000##FFFFFF
##7C166A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#831E3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c166a;
/* rgb */ color: rgb(124, 22, 106);
/* oklch */ color: oklch(41.1% 0.162 336.7);
Tailwind
colors: {
  custom: {
    50: '#a56195',
    500: '#7c166a',
    950: '#000000',
  },
}
SCSS
$custom: #7c166a;
$custom-light: #a56195;
$custom-dark: #000000;
JSON
{
  "hex": "#7c166a",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 310.588,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.16194,
    "h": 336.7
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#7C166A
secondary
#3DB151
accent
#ED5A3B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C166A

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

Preview Lab → · Contrast checker → · Palette generator →

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