#7B164C#7B164C

#7B164C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.143 H 353.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7B164C
RGBrgb(123, 22, 76)
HSLhsl(328, 70%, 28%)
HSVhsv(328, 82%, 48%)
CMYKcmyk(0%, 82.1%, 38.2%, 51.8%)
CIE-LABlab(27.59, 46.24, -6.26)
CIE-LCHlch(27.59, 46.66, 352.29°)
OKLaboklab(39.47% 0.1421 -0.016)
OKLCHoklch(39.47% 0.143 353.6)
XYZxyz(9.7604, 5.3078, 7.3466)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B164C #167B45
analogous
#77167B #7B164C #7B1619
triadic
#7B164C #4C7B16 #164C7B
tetradic
#7B164C #7B7716 #167B45 #16197B
square
#7B164C #7B7716 #167B45 #16197B
split-complementary
#7B164C #197B16 #167B77
monochromatic
#1A0510 #470D2C #7B164C #AF1F6C #DA318C

Accessibility & contrast

On white

10.19
#7B164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B164C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B164C#FFFFFF#000000##FFFFFF
##7B164C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354D
Deuteranopia (green-blind)
#47484A
Tritanopia (blue-blind)
#85092F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b164c;
/* rgb */ color: rgb(123, 22, 76);
/* oklch */ color: oklch(39.5% 0.143 353.6);
Tailwind
colors: {
  custom: {
    50: '#a6607e',
    500: '#7b164c',
    950: '#000000',
  },
}
SCSS
$custom: #7b164c;
$custom-light: #a6607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b164c",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 327.921,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.143,
    "h": 353.6
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#7B164C
secondary
#3DB072
accent
#EC8E3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B164C

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

Preview Lab → · Contrast checker → · Palette generator →

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