#781D5A#781D5A

#781D5A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 344.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#781D5A
RGBrgb(120, 29, 90)
HSLhsl(320, 61%, 29%)
HSVhsv(320, 76%, 47%)
CMYKcmyk(0%, 75.8%, 25%, 52.9%)
CIE-LABlab(28.41, 44.87, -14.34)
CIE-LCHlch(28.41, 47.10, 342.27°)
OKLaboklab(40.15% 0.1355 -0.0382)
OKLCHoklch(40.15% 0.141 344.2)
XYZxyz(10.0309, 5.6110, 10.2256)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D5A #1D783B
analogous
#691D78 #781D5A #781D2D
triadic
#781D5A #5A781D #1D5A78
tetradic
#781D5A #78691D #1D783B #1D2D78
square
#781D5A #78691D #1D783B #1D2D78
split-complementary
#781D5A #2D781D #1D7869
monochromatic
#190612 #471135 #781D5A #A9297F #D13FA1

Accessibility & contrast

On white

9.90
#781D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D5A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D5A#FFFFFF#000000##FFFFFF
##781D5A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#434958
Tritanopia (blue-blind)
#801C39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781d5a;
/* rgb */ color: rgb(120, 29, 90);
/* oklch */ color: oklch(40.1% 0.141 344.2);
Tailwind
colors: {
  custom: {
    50: '#a26288',
    500: '#781d5a',
    950: '#000000',
  },
}
SCSS
$custom: #781d5a;
$custom-light: #a26288;
$custom-dark: #000000;
JSON
{
  "hex": "#781d5a",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 319.78,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40148,
    "c": 0.1408,
    "h": 344.2
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#781D5A
secondary
#45AC67
accent
#E47944
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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