#7C164E#7C164E

#7C164E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.145 H 352.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7C164E
RGBrgb(124, 22, 78)
HSLhsl(327, 70%, 29%)
HSVhsv(327, 82%, 49%)
CMYKcmyk(0%, 82.3%, 37.1%, 51.4%)
CIE-LABlab(27.87, 46.74, -7.15)
CIE-LCHlch(27.87, 47.28, 351.30°)
OKLaboklab(39.74% 0.1436 -0.0184)
OKLCHoklch(39.74% 0.145 352.7)
XYZxyz(9.9749, 5.4102, 7.7252)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C164E #167C44
analogous
#77167C #7C164E #7C161B
triadic
#7C164E #4E7C16 #164E7C
tetradic
#7C164E #7C7716 #167C44 #161B7C
square
#7C164E #7C7716 #167C44 #161B7C
split-complementary
#7C164E #1B7C16 #167C77
monochromatic
#1A0510 #480D2D #7C164E #B01F6F #DB328E

Accessibility & contrast

On white

10.09
#7C164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C164E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C164E#FFFFFF#000000##FFFFFF
##7C164E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#860A30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c164e;
/* rgb */ color: rgb(124, 22, 78);
/* oklch */ color: oklch(39.7% 0.145 352.7);
Tailwind
colors: {
  custom: {
    50: '#a6607f',
    500: '#7c164e',
    950: '#000000',
  },
}
SCSS
$custom: #7c164e;
$custom-light: #a6607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c164e",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 327.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.14473,
    "h": 352.7
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#7C164E
secondary
#3DB171
accent
#ED8B3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C164E

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

Preview Lab → · Contrast checker → · Palette generator →

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