#7B1B4F#7B1B4F

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

Color values

HEX#7B1B4F
RGBrgb(123, 27, 79)
HSLhsl(328, 64%, 29%)
HSVhsv(328, 78%, 48%)
CMYKcmyk(0%, 78%, 35.8%, 51.8%)
CIE-LABlab(28.28, 44.98, -7.23)
CIE-LCHlch(28.28, 45.56, 350.86°)
OKLaboklab(40.01% 0.1379 -0.0186)
OKLCHoklch(40.01% 0.139 352.3)
XYZxyz(9.9722, 5.5605, 7.9438)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B4F #1B7B47
analogous
#771B7B #7B1B4F #7B1B1F
triadic
#7B1B4F #4F7B1B #1B4F7B
tetradic
#7B1B4F #7B771B #1B7B47 #1B1F7B
square
#7B1B4F #7B771B #1B7B47 #1B1F7B
split-complementary
#7B1B4F #1F7B1B #1B7B77
monochromatic
#190610 #49102F #7B1B4F #AD266F #D43C8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1B4F#FFFFFF#000000##FFFFFF
##7B1B4F1.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)
#2C3850
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#851232
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1b4f;
/* rgb */ color: rgb(123, 27, 79);
/* oklch */ color: oklch(40.0% 0.139 352.3);
Tailwind
colors: {
  custom: {
    50: '#a56280',
    500: '#7b1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b4f;
$custom-light: #a56280;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b4f",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 327.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.13913,
    "h": 352.3
  },
  "luminance": 0.05559
}

Semantic roles & 50–950 ramp

primary
#7B1B4F
secondary
#43AF74
accent
#E78D41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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