#7B1A4C#7B1A4C

#7B1A4C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.139 H 354.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7B1A4C
RGBrgb(123, 26, 76)
HSLhsl(329, 65%, 29%)
HSVhsv(329, 79%, 48%)
CMYKcmyk(0%, 78.9%, 38.2%, 51.8%)
CIE-LABlab(28.04, 44.97, -5.59)
CIE-LCHlch(28.04, 45.31, 352.91°)
OKLaboklab(39.8% 0.1381 -0.0142)
OKLCHoklch(39.8% 0.139 354.1)
XYZxyz(9.8429, 5.4728, 7.3741)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A4C #1A7B49
analogous
#7A1A7B #7B1A4C #7B1A1C
triadic
#7B1A4C #4C7B1A #1A4C7B
tetradic
#7B1A4C #7B7A1A #1A7B49 #1A1C7B
square
#7B1A4C #7B7A1A #1A7B49 #1A1C7B
split-complementary
#7B1A4C #1C7B1A #1A7B7A
monochromatic
#190510 #480F2D #7B1A4C #AE256B #D53A8A

Accessibility & contrast

On white

10.03
#7B1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A4C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A4C#FFFFFF#000000##FFFFFF
##7B1A4C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#48494A
Tritanopia (blue-blind)
#850F30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1a4c;
/* rgb */ color: rgb(123, 26, 76);
/* oklch */ color: oklch(39.8% 0.139 354.1);
Tailwind
colors: {
  custom: {
    50: '#a5617e',
    500: '#7b1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a4c;
$custom-light: #a5617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a4c",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 329.072,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39799,
    "c": 0.13879,
    "h": 354.1
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#7B1A4C
secondary
#42AF77
accent
#E89140
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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