#781B5A#781B5A

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

Color values

HEX#781B5A
RGBrgb(120, 27, 90)
HSLhsl(319, 63%, 29%)
HSVhsv(319, 78%, 47%)
CMYKcmyk(0%, 77.5%, 25%, 52.9%)
CIE-LABlab(28.16, 45.58, -14.73)
CIE-LCHlch(28.16, 47.90, 342.09°)
OKLaboklab(39.97% 0.1377 -0.0393)
OKLCHoklch(39.97% 0.143 344.1)
XYZxyz(9.9835, 5.5162, 10.2098)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B5A #1B7839
analogous
#681B78 #781B5A #781B2C
triadic
#781B5A #5A781B #1B5A78
tetradic
#781B5A #78681B #1B7839 #1B2C78
square
#781B5A #78681B #1B7839 #1B2C78
split-complementary
#781B5A #2C781B #1B7868
monochromatic
#190613 #461035 #781B5A #AA267F #D33BA2

Accessibility & contrast

On white

9.99
#781B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B5A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B5A#FFFFFF#000000##FFFFFF
##781B5A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395C
Deuteranopia (green-blind)
#424858
Tritanopia (blue-blind)
#801A38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781b5a;
/* rgb */ color: rgb(120, 27, 90);
/* oklch */ color: oklch(40.0% 0.143 344.1);
Tailwind
colors: {
  custom: {
    50: '#a26288',
    500: '#781b5a',
    950: '#000000',
  },
}
SCSS
$custom: #781b5a;
$custom-light: #a26288;
$custom-dark: #000000;
JSON
{
  "hex": "#781b5a",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 319.355,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.1432,
    "h": 344.1
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#781B5A
secondary
#43AC65
accent
#E67741
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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