#781A5C#781A5C

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

Color values

HEX#781A5C
RGBrgb(120, 26, 92)
HSLhsl(318, 64%, 29%)
HSVhsv(318, 78%, 47%)
CMYKcmyk(0%, 78.3%, 23.3%, 52.9%)
CIE-LABlab(28.13, 46.20, -16.08)
CIE-LCHlch(28.13, 48.92, 340.81°)
OKLaboklab(39.97% 0.1391 -0.0431)
OKLCHoklch(39.97% 0.146 342.8)
XYZxyz(10.0473, 5.5056, 10.6567)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A5C #1A7836
analogous
#651A78 #781A5C #781A2D
triadic
#781A5C #5C781A #1A5C78
tetradic
#781A5C #78651A #1A7836 #1A2D78
square
#781A5C #78651A #1A7836 #1A2D78
split-complementary
#781A5C #2D781A #1A7865
monochromatic
#190513 #460F35 #781A5C #AA2583 #D438A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781A5C#FFFFFF#000000##FFFFFF
##781A5C1.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)
#24395E
Deuteranopia (green-blind)
#41485A
Tritanopia (blue-blind)
#801B39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a5c;
/* rgb */ color: rgb(120, 26, 92);
/* oklch */ color: oklch(40.0% 0.146 342.8);
Tailwind
colors: {
  custom: {
    50: '#a2618a',
    500: '#781a5c',
    950: '#000000',
  },
}
SCSS
$custom: #781a5c;
$custom-light: #a2618a;
$custom-dark: #000000;
JSON
{
  "hex": "#781a5c",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 317.872,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.14566,
    "h": 342.8
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#781A5C
secondary
#41AC61
accent
#E77240
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C

Preview Lab

Preview with #781A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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