#7B1B4A#7B1B4A

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

Color values

HEX#7B1B4A
RGBrgb(123, 27, 74)
HSLhsl(331, 64%, 29%)
HSVhsv(331, 78%, 48%)
CMYKcmyk(0%, 78%, 39.8%, 51.8%)
CIE-LABlab(28.09, 44.40, -4.19)
CIE-LCHlch(28.09, 44.59, 354.61°)
OKLaboklab(39.81% 0.1364 -0.0105)
OKLCHoklch(39.81% 0.137 355.6)
XYZxyz(9.7970, 5.4905, 7.0211)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B4A #1B7B4C
analogous
#7B1B7A #7B1B4A #7B1C1B
triadic
#7B1B4A #4A7B1B #1B4A7B
tetradic
#7B1B4A #7A7B1B #1B7B4C #1C1B7B
square
#7B1B4A #7A7B1B #1B7B4C #1C1B7B
split-complementary
#7B1B4A #1B7B1C #1B7A7B
monochromatic
#19060F #49102C #7B1B4A #AD2668 #D43C87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1B4A#FFFFFF#000000##FFFFFF
##7B1B4A1.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)
#2E374B
Deuteranopia (green-blind)
#494948
Tritanopia (blue-blind)
#850F30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1b4a;
/* rgb */ color: rgb(123, 27, 74);
/* oklch */ color: oklch(39.8% 0.137 355.6);
Tailwind
colors: {
  custom: {
    50: '#a5617c',
    500: '#7b1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b4a;
$custom-light: #a5617c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b4a",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 330.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.13675,
    "h": 355.6
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#7B1B4A
secondary
#43AF7A
accent
#E79641
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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