#7C1668#7C1668

#7C1668 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.161 H 337.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C1668
RGBrgb(124, 22, 104)
HSLhsl(312, 70%, 29%)
HSVhsv(312, 82%, 49%)
CMYKcmyk(0%, 82.3%, 16.1%, 51.4%)
CIE-LABlab(29.06, 50.18, -22.39)
CIE-LCHlch(29.06, 54.95, 335.95°)
OKLaboklab(40.98% 0.1485 -0.0609)
OKLCHoklch(40.98% 0.161 337.7)
XYZxyz(11.0980, 5.8595, 13.6405)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1668 #167C2A
analogous
#5D167C #7C1668 #7C1635
triadic
#7C1668 #687C16 #16687C
tetradic
#7C1668 #7C5D16 #167C2A #16357C
square
#7C1668 #7C5D16 #167C2A #16357C
split-complementary
#7C1668 #357C16 #167C5D
monochromatic
#1A0516 #480D3C #7C1668 #B01F94 #DB32B9

Accessibility & contrast

On white

9.67
#7C1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1668
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1668#FFFFFF#000000##FFFFFF
##7C16681.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#831D3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1668;
/* rgb */ color: rgb(124, 22, 104);
/* oklch */ color: oklch(41.0% 0.161 337.7);
Tailwind
colors: {
  custom: {
    50: '#a56193',
    500: '#7c1668',
    950: '#000000',
  },
}
SCSS
$custom: #7c1668;
$custom-light: #a56193;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1668",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 311.765,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.16053,
    "h": 337.7
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#7C1668
secondary
#3DB154
accent
#ED5E3B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C1668

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

Preview Lab → · Contrast checker → · Palette generator →

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