#7B1D55#7B1D55

#7B1D55 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.140 H 348.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7B1D55
RGBrgb(123, 29, 85)
HSLhsl(324, 62%, 30%)
HSVhsv(324, 76%, 48%)
CMYKcmyk(0%, 76.4%, 30.9%, 51.8%)
CIE-LABlab(28.76, 45.03, -10.46)
CIE-LCHlch(28.76, 46.23, 346.92°)
OKLaboklab(40.44% 0.1373 -0.0274)
OKLCHoklch(40.44% 0.14 348.7)
XYZxyz(10.2480, 5.7467, 9.1621)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D55 #1D7B43
analogous
#721D7B #7B1D55 #7B1D26
triadic
#7B1D55 #557B1D #1D557B
tetradic
#7B1D55 #7B721D #1D7B43 #1D267B
square
#7B1D55 #7B721D #1D7B43 #1D267B
split-complementary
#7B1D55 #267B1D #1D7B72
monochromatic
#190611 #491133 #7B1D55 #AD2977 #D24097

Accessibility & contrast

On white

9.77
#7B1D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D55
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D55#FFFFFF#000000##FFFFFF
##7B1D551.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#841836
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1d55;
/* rgb */ color: rgb(123, 29, 85);
/* oklch */ color: oklch(40.4% 0.140 348.7);
Tailwind
colors: {
  custom: {
    50: '#a56385',
    500: '#7b1d55',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d55;
$custom-light: #a56385;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d55",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 324.255,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40443,
    "c": 0.14003,
    "h": 348.7
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#7B1D55
secondary
#45AF70
accent
#E58443
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1D55

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

Preview Lab → · Contrast checker → · Palette generator →

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