#7B1A5B#7B1A5B

#7B1A5B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.147 H 344.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7B1A5B
RGBrgb(123, 26, 91)
HSLhsl(320, 65%, 29%)
HSVhsv(320, 79%, 48%)
CMYKcmyk(0%, 78.9%, 26%, 51.8%)
CIE-LABlab(28.66, 46.86, -14.56)
CIE-LCHlch(28.66, 49.07, 342.73°)
OKLaboklab(40.45% 0.1419 -0.0388)
OKLCHoklch(40.45% 0.147 344.7)
XYZxyz(10.4265, 5.7062, 10.4478)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A5B #1A7B3A
analogous
#6B1A7B #7B1A5B #7B1A2A
triadic
#7B1A5B #5B7B1A #1A5B7B
tetradic
#7B1A5B #7B6B1A #1A7B3A #1A2A7B
square
#7B1A5B #7B6B1A #1A7B3A #1A2A7B
split-complementary
#7B1A5B #2A7B1A #1A7B6B
monochromatic
#190513 #480F36 #7B1A5B #AE2580 #D53AA2

Accessibility & contrast

On white

9.81
#7B1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B1A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A5B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A5B#FFFFFF#000000##FFFFFF
##7B1A5B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#841938
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1a5b;
/* rgb */ color: rgb(123, 26, 91);
/* oklch */ color: oklch(40.5% 0.147 344.7);
Tailwind
colors: {
  custom: {
    50: '#a56289',
    500: '#7b1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a5b;
$custom-light: #a56289;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a5b",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 319.794,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.1471,
    "h": 344.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#7B1A5B
secondary
#42AF66
accent
#E87740
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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