#7C164D#7C164D

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

Color values

HEX#7C164D
RGBrgb(124, 22, 77)
HSLhsl(328, 70%, 29%)
HSVhsv(328, 82%, 49%)
CMYKcmyk(0%, 82.3%, 37.9%, 51.4%)
CIE-LABlab(27.83, 46.62, -6.55)
CIE-LCHlch(27.83, 47.08, 352.01°)
OKLaboklab(39.7% 0.1433 -0.0167)
OKLCHoklch(39.7% 0.144 353.3)
XYZxyz(9.9393, 5.3960, 7.5379)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C164D #167C45
analogous
#78167C #7C164D #7C161A
triadic
#7C164D #4D7C16 #164D7C
tetradic
#7C164D #7C7816 #167C45 #161A7C
square
#7C164D #7C7816 #167C45 #161A7C
split-complementary
#7C164D #1A7C16 #167C78
monochromatic
#1A0510 #480D2D #7C164D #B01F6D #DB328D

Accessibility & contrast

On white

10.10
#7C164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C164D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C164D#FFFFFF#000000##FFFFFF
##7C164D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#48484B
Tritanopia (blue-blind)
#860930
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c164d;
/* rgb */ color: rgb(124, 22, 77);
/* oklch */ color: oklch(39.7% 0.144 353.3);
Tailwind
colors: {
  custom: {
    50: '#a6607e',
    500: '#7c164d',
    950: '#000000',
  },
}
SCSS
$custom: #7c164d;
$custom-light: #a6607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c164d",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 327.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39696,
    "c": 0.14425,
    "h": 353.3
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#7C164D
secondary
#3DB172
accent
#ED8D3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C164D

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

Preview Lab → · Contrast checker → · Palette generator →

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