#781B59#781B59

#781B59 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.143 H 344.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#781B59
RGBrgb(120, 27, 89)
HSLhsl(320, 63%, 29%)
HSVhsv(320, 78%, 47%)
CMYKcmyk(0%, 77.5%, 25.8%, 52.9%)
CIE-LABlab(28.11, 45.44, -14.14)
CIE-LCHlch(28.11, 47.59, 342.71°)
OKLaboklab(39.92% 0.1375 -0.0377)
OKLCHoklch(39.92% 0.143 344.7)
XYZxyz(9.9412, 5.4993, 9.9872)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B59 #1B783A
analogous
#691B78 #781B59 #781B2B
triadic
#781B59 #59781B #1B5978
tetradic
#781B59 #78691B #1B783A #1B2B78
square
#781B59 #78691B #1B783A #1B2B78
split-complementary
#781B59 #2B781B #1B7869
monochromatic
#190613 #461034 #781B59 #AA267E #D33BA0

Accessibility & contrast

On white

10.00
#781B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B59
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B59#FFFFFF#000000##FFFFFF
##781B591.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385B
Deuteranopia (green-blind)
#434857
Tritanopia (blue-blind)
#801A37
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781b59;
/* rgb */ color: rgb(120, 27, 89);
/* oklch */ color: oklch(39.9% 0.143 344.7);
Tailwind
colors: {
  custom: {
    50: '#a26288',
    500: '#781b59',
    950: '#000000',
  },
}
SCSS
$custom: #781b59;
$custom-light: #a26288;
$custom-dark: #000000;
JSON
{
  "hex": "#781b59",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 320,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.14257,
    "h": 344.7
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#781B59
secondary
#43AC66
accent
#E67841
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781B59

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

Preview Lab → · Contrast checker → · Palette generator →

#781B59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva