#7B2160#7B2160

#7B2160 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.142 H 342.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7B2160
RGBrgb(123, 33, 96)
HSLhsl(318, 58%, 31%)
HSVhsv(318, 73%, 48%)
CMYKcmyk(0%, 73.2%, 22%, 51.8%)
CIE-LABlab(29.77, 45.05, -16.11)
CIE-LCHlch(29.77, 47.85, 340.33°)
OKLaboklab(41.34% 0.1352 -0.0432)
OKLCHoklch(41.34% 0.142 342.3)
XYZxyz(10.8239, 6.1443, 11.6800)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2160 #217B3C
analogous
#69217B #7B2160 #7B2133
triadic
#7B2160 #607B21 #21607B
tetradic
#7B2160 #7B6921 #217B3C #21337B
square
#7B2160 #7B6921 #217B3C #21337B
split-complementary
#7B2160 #337B21 #217B69
monochromatic
#1A0715 #4B143A #7B2160 #AB2E86 #CE48A6

Accessibility & contrast

On white

9.42
#7B2160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B2160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2160
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2160#FFFFFF#000000##FFFFFF
##7B21601.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293D62
Deuteranopia (green-blind)
#454B5E
Tritanopia (blue-blind)
#83223D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b2160;
/* rgb */ color: rgb(123, 33, 96);
/* oklch */ color: oklch(41.3% 0.142 342.3);
Tailwind
colors: {
  custom: {
    50: '#a4658d',
    500: '#7b2160',
    950: '#000000',
  },
}
SCSS
$custom: #7b2160;
$custom-light: #a4658d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2160",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 318,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.1419,
    "h": 342.3
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#7B2160
secondary
#4AAE68
accent
#E17547
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B2160

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

Preview Lab → · Contrast checker → · Palette generator →

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