#7B164E#7B164E

#7B164E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.144 H 352.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7B164E
RGBrgb(123, 22, 78)
HSLhsl(327, 70%, 28%)
HSVhsv(327, 82%, 48%)
CMYKcmyk(0%, 82.1%, 36.6%, 51.8%)
CIE-LABlab(27.67, 46.47, -7.48)
CIE-LCHlch(27.67, 47.07, 350.86°)
OKLaboklab(39.55% 0.1427 -0.0193)
OKLCHoklch(39.55% 0.144 352.3)
XYZxyz(9.8311, 5.3360, 7.7185)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B164E #167B43
analogous
#75167B #7B164E #7B161B
triadic
#7B164E #4E7B16 #164E7B
tetradic
#7B164E #7B7516 #167B43 #161B7B
square
#7B164E #7B7516 #167B43 #161B7B
split-complementary
#7B164E #1B7B16 #167B75
monochromatic
#1A0510 #470D2D #7B164E #AF1F6F #DA318F

Accessibility & contrast

On white

10.16
#7B164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B164E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B164E#FFFFFF#000000##FFFFFF
##7B164E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b164e;
/* rgb */ color: rgb(123, 22, 78);
/* oklch */ color: oklch(39.6% 0.144 352.3);
Tailwind
colors: {
  custom: {
    50: '#a5607f',
    500: '#7b164e',
    950: '#000000',
  },
}
SCSS
$custom: #7b164e;
$custom-light: #a5607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b164e",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 326.733,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39554,
    "c": 0.14397,
    "h": 352.3
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#7B164E
secondary
#3DB070
accent
#EC8A3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B164E

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

Preview Lab → · Contrast checker → · Palette generator →

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