#7B1C4C#7B1C4C

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

Color values

HEX#7B1C4C
RGBrgb(123, 28, 76)
HSLhsl(330, 63%, 30%)
HSVhsv(330, 77%, 48%)
CMYKcmyk(0%, 77.2%, 38.2%, 51.8%)
CIE-LABlab(28.29, 44.28, -5.22)
CIE-LCHlch(28.29, 44.58, 353.27°)
OKLaboklab(39.98% 0.1359 -0.0132)
OKLCHoklch(39.98% 0.137 354.4)
XYZxyz(9.8888, 5.5645, 7.3894)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C4C #1C7B4B
analogous
#7B1C7B #7B1C4C #7B1C1D
triadic
#7B1C4C #4C7B1C #1C4C7B
tetradic
#7B1C4C #7B7B1C #1C7B4B #1C1D7B
square
#7B1C4C #7B7B1C #1C7B4B #1C1D7B
split-complementary
#7B1C4C #1D7B1C #1C7B7B
monochromatic
#19060F #49112D #7B1C4C #AD276B #D33E89

Accessibility & contrast

On white

9.94
#7B1C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B1C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C4C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C4C#FFFFFF#000000##FFFFFF
##7B1C4C1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384D
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#851231
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1c4c;
/* rgb */ color: rgb(123, 28, 76);
/* oklch */ color: oklch(40.0% 0.137 354.4);
Tailwind
colors: {
  custom: {
    50: '#a5627e',
    500: '#7b1c4c',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c4c;
$custom-light: #a5627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c4c",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 329.684,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.13651,
    "h": 354.4
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#7B1C4C
secondary
#44AF79
accent
#E69342
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B1C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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