#7B1D4D#7B1D4D

#7B1D4D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.136 H 353.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7B1D4D
RGBrgb(123, 29, 77)
HSLhsl(329, 62%, 30%)
HSVhsv(329, 76%, 48%)
CMYKcmyk(0%, 76.4%, 37.4%, 51.8%)
CIE-LABlab(28.45, 44.04, -5.64)
CIE-LCHlch(28.45, 44.40, 352.70°)
OKLaboklab(40.11% 0.1351 -0.0144)
OKLCHoklch(40.11% 0.136 353.9)
XYZxyz(9.9479, 5.6267, 7.5819)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D4D #1D7B4B
analogous
#7A1D7B #7B1D4D #7B1D1E
triadic
#7B1D4D #4D7B1D #1D4D7B
tetradic
#7B1D4D #7B7A1D #1D7B4B #1D1E7B
square
#7B1D4D #7B7A1D #1D7B4B #1D1E7B
split-complementary
#7B1D4D #1E7B1D #1D7B7A
monochromatic
#190610 #49112E #7B1D4D #AD296C #D2408B

Accessibility & contrast

On white

9.88
#7B1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B1D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D4D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D4D#FFFFFF#000000##FFFFFF
##7B1D4D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#851432
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1d4d;
/* rgb */ color: rgb(123, 29, 77);
/* oklch */ color: oklch(40.1% 0.136 353.9);
Tailwind
colors: {
  custom: {
    50: '#a5627e',
    500: '#7b1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d4d;
$custom-light: #a5627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d4d",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 329.362,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.13581,
    "h": 353.9
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#7B1D4D
secondary
#45AF79
accent
#E59243
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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