#7B164A#7B164A

#7B164A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.142 H 354.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7B164A
RGBrgb(123, 22, 74)
HSLhsl(329, 70%, 28%)
HSVhsv(329, 82%, 48%)
CMYKcmyk(0%, 82.1%, 39.8%, 51.8%)
CIE-LABlab(27.52, 46.01, -5.03)
CIE-LCHlch(27.52, 46.29, 353.76°)
OKLaboklab(39.39% 0.1415 -0.0127)
OKLCHoklch(39.39% 0.142 354.9)
XYZxyz(9.6920, 5.2804, 6.9861)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B164A #167B47
analogous
#79167B #7B164A #7B1617
triadic
#7B164A #4A7B16 #164A7B
tetradic
#7B164A #7B7916 #167B47 #16177B
square
#7B164A #7B7916 #167B47 #16177B
split-complementary
#7B164A #177B16 #167B79
monochromatic
#1A0510 #470D2B #7B164A #AF1F69 #DA3188

Accessibility & contrast

On white

10.22
#7B164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B164A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B164A#FFFFFF#000000##FFFFFF
##7B164A1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#85072E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b164a;
/* rgb */ color: rgb(123, 22, 74);
/* oklch */ color: oklch(39.4% 0.142 354.9);
Tailwind
colors: {
  custom: {
    50: '#a6607c',
    500: '#7b164a',
    950: '#000000',
  },
}
SCSS
$custom: #7b164a;
$custom-light: #a6607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b164a",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 329.109,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.14206,
    "h": 354.9
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7B164A
secondary
#3DB075
accent
#EC913B
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7B164A

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

Preview Lab → · Contrast checker → · Palette generator →

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