#7B1C4D#7B1C4D

#7B1C4D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.137 H 353.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7B1C4D
RGBrgb(123, 28, 77)
HSLhsl(329, 63%, 30%)
HSVhsv(329, 77%, 48%)
CMYKcmyk(0%, 77.2%, 37.4%, 51.8%)
CIE-LABlab(28.32, 44.39, -5.83)
CIE-LCHlch(28.32, 44.78, 352.51°)
OKLaboklab(40.02% 0.1362 -0.0149)
OKLCHoklch(40.02% 0.137 353.8)
XYZxyz(9.9238, 5.5785, 7.5739)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C4D #1C7B4A
analogous
#7A1C7B #7B1C4D #7B1C1D
triadic
#7B1C4D #4D7B1C #1C4D7B
tetradic
#7B1C4D #7B7A1C #1C7B4A #1C1D7B
square
#7B1C4D #7B7A1C #1C7B4A #1C1D7B
split-complementary
#7B1C4D #1D7B1C #1C7B7A
monochromatic
#190610 #49112E #7B1C4D #AD276C #D33E8B

Accessibility & contrast

On white

9.93
#7B1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B1C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C4D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C4D#FFFFFF#000000##FFFFFF
##7B1C4D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#851232
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1c4d;
/* rgb */ color: rgb(123, 28, 77);
/* oklch */ color: oklch(40.0% 0.137 353.8);
Tailwind
colors: {
  custom: {
    50: '#a5627e',
    500: '#7b1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c4d;
$custom-light: #a5627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c4d",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 329.053,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.13699,
    "h": 353.8
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#7B1C4D
secondary
#44AF78
accent
#E69142
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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