#7B165B#7B165B

#7B165B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.151 H 344.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7B165B
RGBrgb(123, 22, 91)
HSLhsl(319, 70%, 28%)
HSVhsv(319, 82%, 48%)
CMYKcmyk(0%, 82.1%, 26%, 51.8%)
CIE-LABlab(28.22, 48.10, -15.23)
CIE-LCHlch(28.22, 50.45, 342.43°)
OKLaboklab(40.14% 0.1457 -0.0406)
OKLCHoklch(40.14% 0.151 344.4)
XYZxyz(10.3441, 5.5412, 10.4203)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B165B #167B36
analogous
#68167B #7B165B #7B1628
triadic
#7B165B #5B7B16 #165B7B
tetradic
#7B165B #7B6816 #167B36 #16287B
square
#7B165B #7B6816 #167B36 #16287B
split-complementary
#7B165B #287B16 #167B68
monochromatic
#1A0513 #470D35 #7B165B #AF1F81 #DA31A5

Accessibility & contrast

On white

9.96
#7B165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B165B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B165B#FFFFFF#000000##FFFFFF
##7B165B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#841537
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b165b;
/* rgb */ color: rgb(123, 22, 91);
/* oklch */ color: oklch(40.1% 0.151 344.4);
Tailwind
colors: {
  custom: {
    50: '#a56089',
    500: '#7b165b',
    950: '#000000',
  },
}
SCSS
$custom: #7b165b;
$custom-light: #a56089;
$custom-dark: #000000;
JSON
{
  "hex": "#7b165b",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 319.01,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.15129,
    "h": 344.4
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#7B165B
secondary
#3DB061
accent
#EC733B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B165B

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

Preview Lab → · Contrast checker → · Palette generator →

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