#7B1A4A#7B1A4A

#7B1A4A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.138 H 355.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7B1A4A
RGBrgb(123, 26, 74)
HSLhsl(330, 65%, 29%)
HSVhsv(330, 79%, 48%)
CMYKcmyk(0%, 78.9%, 39.8%, 51.8%)
CIE-LABlab(27.97, 44.74, -4.37)
CIE-LCHlch(27.97, 44.95, 354.43°)
OKLaboklab(39.72% 0.1374 -0.0109)
OKLCHoklch(39.72% 0.138 355.4)
XYZxyz(9.7745, 5.4454, 7.0136)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A4A #1A7B4B
analogous
#7B1A7B #7B1A4A #7B1A1A
triadic
#7B1A4A #4A7B1A #1A4A7B
tetradic
#7B1A4A #7B7B1A #1A7B4B #1A1A7B
square
#7B1A4A #7B7B1A #1A7B4B #1A1A7B
split-complementary
#7B1A4A #1A7B1A #1A7B7B
monochromatic
#19050F #480F2C #7B1A4A #AE2568 #D53A87

Accessibility & contrast

On white

10.05
#7B1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A4A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A4A#FFFFFF#000000##FFFFFF
##7B1A4A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#494848
Tritanopia (blue-blind)
#850D2F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1a4a;
/* rgb */ color: rgb(123, 26, 74);
/* oklch */ color: oklch(39.7% 0.138 355.4);
Tailwind
colors: {
  custom: {
    50: '#a5617c',
    500: '#7b1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a4a;
$custom-light: #a5617c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a4a",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 330.309,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.13787,
    "h": 355.4
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#7B1A4A
secondary
#42AF79
accent
#E89540
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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