#7B164D#7B164D

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

Color values

HEX#7B164D
RGBrgb(123, 22, 77)
HSLhsl(327, 70%, 28%)
HSVhsv(327, 82%, 48%)
CMYKcmyk(0%, 82.1%, 37.4%, 51.8%)
CIE-LABlab(27.63, 46.35, -6.87)
CIE-LCHlch(27.63, 46.86, 351.57°)
OKLaboklab(39.51% 0.1424 -0.0176)
OKLCHoklch(39.51% 0.143 352.9)
XYZxyz(9.7955, 5.3218, 7.5311)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B164D #167B44
analogous
#76167B #7B164D #7B161A
triadic
#7B164D #4D7B16 #164D7B
tetradic
#7B164D #7B7616 #167B44 #161A7B
square
#7B164D #7B7616 #167B44 #161A7B
split-complementary
#7B164D #1A7B16 #167B76
monochromatic
#1A0510 #470D2C #7B164D #AF1F6D #DA318D

Accessibility & contrast

On white

10.17
#7B164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B164D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B164D#FFFFFF#000000##FFFFFF
##7B164D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b164d;
/* rgb */ color: rgb(123, 22, 77);
/* oklch */ color: oklch(39.5% 0.143 352.9);
Tailwind
colors: {
  custom: {
    50: '#a6607e',
    500: '#7b164d',
    950: '#000000',
  },
}
SCSS
$custom: #7b164d;
$custom-light: #a6607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b164d",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 327.327,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.14348,
    "h": 352.9
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#7B164D
secondary
#3DB071
accent
#EC8C3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B164D

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

Preview Lab → · Contrast checker → · Palette generator →

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