#7B1A4B#7B1A4B

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

Color values

HEX#7B1A4B
RGBrgb(123, 26, 75)
HSLhsl(330, 65%, 29%)
HSVhsv(330, 79%, 48%)
CMYKcmyk(0%, 78.9%, 39%, 51.8%)
CIE-LABlab(28.00, 44.85, -4.98)
CIE-LCHlch(28.00, 45.13, 353.67°)
OKLaboklab(39.76% 0.1378 -0.0126)
OKLCHoklch(39.76% 0.138 354.8)
XYZxyz(9.8084, 5.4590, 7.1924)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A4B #1A7B4A
analogous
#7B1A7B #7B1A4B #7B1A1A
triadic
#7B1A4B #4B7B1A #1A4B7B
tetradic
#7B1A4B #7B7B1A #1A7B4A #1A1A7B
square
#7B1A4B #7B7B1A #1A7B4A #1A1A7B
split-complementary
#7B1A4B #1A7B1A #1A7B7B
monochromatic
#19050F #480F2C #7B1A4B #AE256A #D53A89

Accessibility & contrast

On white

10.04
#7B1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A4B
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A4B#FFFFFF#000000##FFFFFF
##7B1A4B1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374C
Deuteranopia (green-blind)
#484949
Tritanopia (blue-blind)
#850E30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1a4b;
/* rgb */ color: rgb(123, 26, 75);
/* oklch */ color: oklch(39.8% 0.138 354.8);
Tailwind
colors: {
  custom: {
    50: '#a5617d',
    500: '#7b1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a4b;
$custom-light: #a5617d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a4b",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 329.691,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.13832,
    "h": 354.8
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#7B1A4B
secondary
#42AF78
accent
#E89340
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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