#7B1A57#7B1A57

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

Color values

HEX#7B1A57
RGBrgb(123, 26, 87)
HSLhsl(322, 65%, 29%)
HSVhsv(322, 79%, 48%)
CMYKcmyk(0%, 78.9%, 29.3%, 51.8%)
CIE-LABlab(28.48, 46.32, -12.21)
CIE-LCHlch(28.48, 47.91, 345.24°)
OKLaboklab(40.27% 0.141 -0.0322)
OKLCHoklch(40.27% 0.145 347.1)
XYZxyz(10.2586, 5.6390, 9.5632)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A57 #1A7B3E
analogous
#6F1A7B #7B1A57 #7B1A27
triadic
#7B1A57 #577B1A #1A577B
tetradic
#7B1A57 #7B6F1A #1A7B3E #1A277B
square
#7B1A57 #7B6F1A #1A7B3E #1A277B
split-complementary
#7B1A57 #277B1A #1A7B6F
monochromatic
#190512 #480F33 #7B1A57 #AE257B #D53A9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1A57#FFFFFF#000000##FFFFFF
##7B1A571.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)
#283959
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#841636
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1a57;
/* rgb */ color: rgb(123, 26, 87);
/* oklch */ color: oklch(40.3% 0.145 347.1);
Tailwind
colors: {
  custom: {
    50: '#a56286',
    500: '#7b1a57',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a57;
$custom-light: #a56286;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a57",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 322.268,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.14466,
    "h": 347.1
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#7B1A57
secondary
#42AF6A
accent
#E87E40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1A57

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

Preview Lab → · Contrast checker → · Palette generator →

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