#7B166A#7B166A

#7B166A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.161 H 336.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7B166A
RGBrgb(123, 22, 106)
HSLhsl(310, 70%, 28%)
HSVhsv(310, 82%, 48%)
CMYKcmyk(0%, 82.1%, 13.8%, 51.8%)
CIE-LABlab(28.97, 50.25, -23.83)
CIE-LCHlch(28.97, 55.61, 334.63°)
OKLaboklab(40.92% 0.1477 -0.065)
OKLCHoklch(40.92% 0.161 336.2)
XYZxyz(11.0570, 5.8264, 14.1752)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B166A #167B27
analogous
#59167B #7B166A #7B1637
triadic
#7B166A #6A7B16 #166A7B
tetradic
#7B166A #7B5916 #167B27 #16377B
square
#7B166A #7B5916 #167B27 #16377B
split-complementary
#7B166A #377B16 #167B59
monochromatic
#1A0516 #470D3D #7B166A #AF1F97 #DA31BE

Accessibility & contrast

On white

9.70
#7B166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B166A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B166A#FFFFFF#000000##FFFFFF
##7B166A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#3D4A68
Tritanopia (blue-blind)
#821E3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b166a;
/* rgb */ color: rgb(123, 22, 106);
/* oklch */ color: oklch(40.9% 0.161 336.2);
Tailwind
colors: {
  custom: {
    50: '#a56195',
    500: '#7b166a',
    950: '#000000',
  },
}
SCSS
$custom: #7b166a;
$custom-light: #a56195;
$custom-dark: #000000;
JSON
{
  "hex": "#7b166a",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 310.099,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.16138,
    "h": 336.2
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#7B166A
secondary
#3DB050
accent
#EC593B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B166A

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

Preview Lab → · Contrast checker → · Palette generator →

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