#7B165A#7B165A

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

Color values

HEX#7B165A
RGBrgb(123, 22, 90)
HSLhsl(320, 70%, 28%)
HSVhsv(320, 82%, 48%)
CMYKcmyk(0%, 82.1%, 26.8%, 51.8%)
CIE-LABlab(28.18, 47.96, -14.65)
CIE-LCHlch(28.18, 50.15, 343.02°)
OKLaboklab(40.09% 0.1455 -0.039)
OKLCHoklch(40.09% 0.151 345)
XYZxyz(10.3012, 5.5241, 10.1946)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B165A #167B37
analogous
#69167B #7B165A #7B1627
triadic
#7B165A #5A7B16 #165A7B
tetradic
#7B165A #7B6916 #167B37 #16277B
square
#7B165A #7B6916 #167B37 #16277B
split-complementary
#7B165A #277B16 #167B69
monochromatic
#1A0513 #470D34 #7B165A #AF1F80 #DA31A3

Accessibility & contrast

On white

9.98
#7B165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B165A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B165A#FFFFFF#000000##FFFFFF
##7B165A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#434958
Tritanopia (blue-blind)
#841437
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b165a;
/* rgb */ color: rgb(123, 22, 90);
/* oklch */ color: oklch(40.1% 0.151 345.0);
Tailwind
colors: {
  custom: {
    50: '#a56088',
    500: '#7b165a',
    950: '#000000',
  },
}
SCSS
$custom: #7b165a;
$custom-light: #a56088;
$custom-dark: #000000;
JSON
{
  "hex": "#7b165a",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 319.604,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.15068,
    "h": 345
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#7B165A
secondary
#3DB062
accent
#EC753B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B165A

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

Preview Lab → · Contrast checker → · Palette generator →

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