#7B1A56#7B1A56

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

Color values

HEX#7B1A56
RGBrgb(123, 26, 86)
HSLhsl(323, 65%, 29%)
HSVhsv(323, 79%, 48%)
CMYKcmyk(0%, 78.9%, 30.1%, 51.8%)
CIE-LABlab(28.44, 46.19, -11.61)
CIE-LCHlch(28.44, 47.63, 345.89°)
OKLaboklab(40.22% 0.1408 -0.0306)
OKLCHoklch(40.22% 0.144 347.7)
XYZxyz(10.2180, 5.6228, 9.3495)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A56 #1A7B3F
analogous
#701A7B #7B1A56 #7B1A25
triadic
#7B1A56 #567B1A #1A567B
tetradic
#7B1A56 #7B701A #1A7B3F #1A257B
square
#7B1A56 #7B701A #1A7B3F #1A257B
split-complementary
#7B1A56 #257B1A #1A7B70
monochromatic
#190512 #480F33 #7B1A56 #AE2579 #D53A9A

Accessibility & contrast

On white

9.89
#7B1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A56
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A56#FFFFFF#000000##FFFFFF
##7B1A561.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293858
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#841636
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1a56;
/* rgb */ color: rgb(123, 26, 86);
/* oklch */ color: oklch(40.2% 0.144 347.7);
Tailwind
colors: {
  custom: {
    50: '#a56185',
    500: '#7b1a56',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a56;
$custom-light: #a56185;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a56",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 322.887,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.14408,
    "h": 347.7
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#7B1A56
secondary
#42AF6B
accent
#E88040
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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