#7B196A#7B196A

#7B196A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.158 H 336.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7B196A
RGBrgb(123, 25, 106)
HSLhsl(310, 66%, 29%)
HSVhsv(310, 80%, 48%)
CMYKcmyk(0%, 79.7%, 13.8%, 51.8%)
CIE-LABlab(29.28, 49.35, -23.34)
CIE-LCHlch(29.28, 54.59, 334.69°)
OKLaboklab(41.14% 0.145 -0.0637)
OKLCHoklch(41.14% 0.158 336.3)
XYZxyz(11.1177, 5.9479, 14.1954)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B196A #197B2A
analogous
#5B197B #7B196A #7B1939
triadic
#7B196A #6A7B19 #196A7B
tetradic
#7B196A #7B5B19 #197B2A #19397B
square
#7B196A #7B5B19 #197B2A #19397B
split-complementary
#7B196A #397B19 #197B5B
monochromatic
#190516 #480F3E #7B196A #AE2396 #D738BB

Accessibility & contrast

On white

9.59
#7B196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7B196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B196A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B196A#FFFFFF#000000##FFFFFF
##7B196A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#822040
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b196a;
/* rgb */ color: rgb(123, 25, 106);
/* oklch */ color: oklch(41.1% 0.158 336.3);
Tailwind
colors: {
  custom: {
    50: '#a56295',
    500: '#7b196a',
    950: '#000000',
  },
}
SCSS
$custom: #7b196a;
$custom-light: #a56295;
$custom-dark: #000000;
JSON
{
  "hex": "#7b196a",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 310.408,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41139,
    "c": 0.15839,
    "h": 336.3
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#7B196A
secondary
#40AF54
accent
#E95C3F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B196A

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

Preview Lab → · Contrast checker → · Palette generator →

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