#781A5A#781A5A

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

Color values

HEX#781A5A
RGBrgb(120, 26, 90)
HSLhsl(319, 64%, 29%)
HSVhsv(319, 78%, 47%)
CMYKcmyk(0%, 78.3%, 25%, 52.9%)
CIE-LABlab(28.04, 45.92, -14.91)
CIE-LCHlch(28.04, 48.28, 342.01°)
OKLaboklab(39.88% 0.1388 -0.0398)
OKLCHoklch(39.88% 0.144 344)
XYZxyz(9.9610, 5.4711, 10.2023)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A5A #1A7838
analogous
#671A78 #781A5A #781A2B
triadic
#781A5A #5A781A #1A5A78
tetradic
#781A5A #78671A #1A7838 #1A2B78
square
#781A5A #78671A #1A7838 #1A2B78
split-complementary
#781A5A #2B781A #1A7867
monochromatic
#190513 #460F34 #781A5A #AA2580 #D438A2

Accessibility & contrast

On white

10.03
#781A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A5A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A5A#FFFFFF#000000##FFFFFF
##781A5A1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#424858
Tritanopia (blue-blind)
#801938
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a5a;
/* rgb */ color: rgb(120, 26, 90);
/* oklch */ color: oklch(39.9% 0.144 344.0);
Tailwind
colors: {
  custom: {
    50: '#a36188',
    500: '#781a5a',
    950: '#000000',
  },
}
SCSS
$custom: #781a5a;
$custom-light: #a36188;
$custom-dark: #000000;
JSON
{
  "hex": "#781a5a",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 319.149,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.14436,
    "h": 344
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#781A5A
secondary
#41AC64
accent
#E77640
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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