#7B1D4E#7B1D4E

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

Color values

HEX#7B1D4E
RGBrgb(123, 29, 78)
HSLhsl(329, 62%, 30%)
HSVhsv(329, 76%, 48%)
CMYKcmyk(0%, 76.4%, 36.6%, 51.8%)
CIE-LABlab(28.49, 44.16, -6.25)
CIE-LCHlch(28.49, 44.60, 351.94°)
OKLaboklab(40.15% 0.1354 -0.016)
OKLCHoklch(40.15% 0.136 353.3)
XYZxyz(9.9835, 5.6409, 7.7693)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D4E #1D7B4A
analogous
#791D7B #7B1D4E #7B1D1F
triadic
#7B1D4E #4E7B1D #1D4E7B
tetradic
#7B1D4E #7B791D #1D7B4A #1D1F7B
square
#7B1D4E #7B791D #1D7B4A #1D1F7B
split-complementary
#7B1D4E #1F7B1D #1D7B79
monochromatic
#190610 #49112F #7B1D4E #AD296D #D2408C

Accessibility & contrast

On white

9.87
#7B1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D4E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D4E#FFFFFF#000000##FFFFFF
##7B1D4E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#851433
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1d4e;
/* rgb */ color: rgb(123, 29, 78);
/* oklch */ color: oklch(40.2% 0.136 353.3);
Tailwind
colors: {
  custom: {
    50: '#a5627f',
    500: '#7b1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d4e;
$custom-light: #a5627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d4e",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 328.723,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.13629,
    "h": 353.3
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#7B1D4E
secondary
#45AF78
accent
#E59043
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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