#7B1A4D#7B1A4D

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

Color values

HEX#7B1A4D
RGBrgb(123, 26, 77)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 48%)
CMYKcmyk(0%, 78.9%, 37.4%, 51.8%)
CIE-LABlab(28.08, 45.08, -6.20)
CIE-LCHlch(28.08, 45.51, 352.17°)
OKLaboklab(39.84% 0.1384 -0.0158)
OKLCHoklch(39.84% 0.139 353.5)
XYZxyz(9.8780, 5.4868, 7.5586)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A4D #1A7B48
analogous
#791A7B #7B1A4D #7B1A1C
triadic
#7B1A4D #4D7B1A #1A4D7B
tetradic
#7B1A4D #7B791A #1A7B48 #1A1C7B
square
#7B1A4D #7B791A #1A7B48 #1A1C7B
split-complementary
#7B1A4D #1C7B1A #1A7B79
monochromatic
#190510 #480F2D #7B1A4D #AE256D #D53A8C

Accessibility & contrast

On white

10.01
#7B1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A4D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A4D#FFFFFF#000000##FFFFFF
##7B1A4D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374E
Deuteranopia (green-blind)
#48494B
Tritanopia (blue-blind)
#851031
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1a4d;
/* rgb */ color: rgb(123, 26, 77);
/* oklch */ color: oklch(39.8% 0.139 353.5);
Tailwind
colors: {
  custom: {
    50: '#a5617e',
    500: '#7b1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a4d;
$custom-light: #a5617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a4d",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 328.454,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.13927,
    "h": 353.5
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#7B1A4D
secondary
#42AF76
accent
#E89040
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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