#7B156A#7B156A

#7B156A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.162 H 336.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7B156A
RGBrgb(123, 21, 106)
HSLhsl(310, 71%, 28%)
HSVhsv(310, 83%, 48%)
CMYKcmyk(0%, 82.9%, 13.8%, 51.8%)
CIE-LABlab(28.87, 50.52, -23.98)
CIE-LCHlch(28.87, 55.93, 334.61°)
OKLaboklab(40.85% 0.1485 -0.0655)
OKLCHoklch(40.85% 0.162 336.2)
XYZxyz(11.0383, 5.7889, 14.1689)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B156A #157B26
analogous
#59157B #7B156A #7B1537
triadic
#7B156A #6A7B15 #156A7B
tetradic
#7B156A #7B5915 #157B26 #15377B
square
#7B156A #7B5915 #157B26 #15377B
split-complementary
#7B156A #377B15 #157B59
monochromatic
#1A0417 #470C3D #7B156A #AF1E97 #DB2FBF

Accessibility & contrast

On white

9.73
#7B156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B156A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B156A#FFFFFF#000000##FFFFFF
##7B156A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#3D4968
Tritanopia (blue-blind)
#821E3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b156a;
/* rgb */ color: rgb(123, 21, 106);
/* oklch */ color: oklch(40.8% 0.162 336.2);
Tailwind
colors: {
  custom: {
    50: '#a56195',
    500: '#7b156a',
    950: '#000000',
  },
}
SCSS
$custom: #7b156a;
$custom-light: #a56195;
$custom-dark: #000000;
JSON
{
  "hex": "#7b156a",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 310,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.16232,
    "h": 336.2
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#7B156A
secondary
#3BB04F
accent
#EE583A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B156A

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

Preview Lab → · Contrast checker → · Palette generator →

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