#7B165D#7B165D

#7B165D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.153 H 343.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7B165D
RGBrgb(123, 22, 93)
HSLhsl(318, 70%, 28%)
HSVhsv(318, 82%, 48%)
CMYKcmyk(0%, 82.1%, 24.4%, 51.8%)
CIE-LABlab(28.32, 48.37, -16.40)
CIE-LCHlch(28.32, 51.07, 341.27°)
OKLaboklab(40.23% 0.1461 -0.0439)
OKLCHoklch(40.23% 0.153 343.3)
XYZxyz(10.4315, 5.5762, 10.8808)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B165D #167B34
analogous
#66167B #7B165D #7B162A
triadic
#7B165D #5D7B16 #165D7B
tetradic
#7B165D #7B6616 #167B34 #162A7B
square
#7B165D #7B6616 #167B34 #162A7B
split-complementary
#7B165D #2A7B16 #167B66
monochromatic
#1A0514 #470D36 #7B165D #AF1F84 #DA31A8

Accessibility & contrast

On white

9.93
#7B165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B165D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B165D#FFFFFF#000000##FFFFFF
##7B165D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#831638
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b165d;
/* rgb */ color: rgb(123, 22, 93);
/* oklch */ color: oklch(40.2% 0.153 343.3);
Tailwind
colors: {
  custom: {
    50: '#a5608b',
    500: '#7b165d',
    950: '#000000',
  },
}
SCSS
$custom: #7b165d;
$custom-light: #a5608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b165d",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 317.822,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.15255,
    "h": 343.3
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#7B165D
secondary
#3DB05F
accent
#EC703B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B165D

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

Preview Lab → · Contrast checker → · Palette generator →

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