#7B1B4E#7B1B4E

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

Color values

HEX#7B1B4E
RGBrgb(123, 27, 78)
HSLhsl(328, 64%, 29%)
HSVhsv(328, 78%, 48%)
CMYKcmyk(0%, 78%, 36.6%, 51.8%)
CIE-LABlab(28.24, 44.86, -6.63)
CIE-LCHlch(28.24, 45.35, 351.60°)
OKLaboklab(39.97% 0.1376 -0.017)
OKLCHoklch(39.97% 0.139 353)
XYZxyz(9.9361, 5.5461, 7.7535)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B4E #1B7B48
analogous
#781B7B #7B1B4E #7B1B1E
triadic
#7B1B4E #4E7B1B #1B4E7B
tetradic
#7B1B4E #7B781B #1B7B48 #1B1E7B
square
#7B1B4E #7B781B #1B7B48 #1B1E7B
split-complementary
#7B1B4E #1E7B1B #1B7B78
monochromatic
#190610 #49102E #7B1B4E #AD266E #D43C8D

Accessibility & contrast

On white

9.96
#7B1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1B4E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B4E#FFFFFF#000000##FFFFFF
##7B1B4E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#851232
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1b4e;
/* rgb */ color: rgb(123, 27, 78);
/* oklch */ color: oklch(40.0% 0.139 353.0);
Tailwind
colors: {
  custom: {
    50: '#a5627f',
    500: '#7b1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b4e;
$custom-light: #a5627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b4e",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 328.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39967,
    "c": 0.13864,
    "h": 353
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#7B1B4E
secondary
#43AF76
accent
#E78F41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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