#7B1A5A#7B1A5A

#7B1A5A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.146 H 345.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7B1A5A
RGBrgb(123, 26, 90)
HSLhsl(320, 65%, 29%)
HSVhsv(320, 79%, 48%)
CMYKcmyk(0%, 78.9%, 26.8%, 51.8%)
CIE-LABlab(28.61, 46.72, -13.98)
CIE-LCHlch(28.61, 48.77, 343.34°)
OKLaboklab(40.4% 0.1417 -0.0372)
OKLCHoklch(40.4% 0.146 345.3)
XYZxyz(10.3837, 5.6891, 10.2221)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A5A #1A7B3B
analogous
#6C1A7B #7B1A5A #7B1A2A
triadic
#7B1A5A #5A7B1A #1A5A7B
tetradic
#7B1A5A #7B6C1A #1A7B3B #1A2A7B
square
#7B1A5A #7B6C1A #1A7B3B #1A2A7B
split-complementary
#7B1A5A #2A7B1A #1A7B6C
monochromatic
#190512 #480F35 #7B1A5A #AE257F #D53AA1

Accessibility & contrast

On white

9.82
#7B1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A5A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A5A#FFFFFF#000000##FFFFFF
##7B1A5A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#841838
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1a5a;
/* rgb */ color: rgb(123, 26, 90);
/* oklch */ color: oklch(40.4% 0.146 345.3);
Tailwind
colors: {
  custom: {
    50: '#a56288',
    500: '#7b1a5a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a5a;
$custom-light: #a56288;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a5a",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 320.412,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.14647,
    "h": 345.3
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7B1A5A
secondary
#42AF67
accent
#E87940
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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