#781A51#781A51

#781A51 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.139 H 349.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#781A51
RGBrgb(120, 26, 81)
HSLhsl(325, 64%, 29%)
HSVhsv(325, 78%, 47%)
CMYKcmyk(0%, 78.3%, 32.5%, 52.9%)
CIE-LABlab(27.65, 44.73, -9.57)
CIE-LCHlch(27.65, 45.74, 347.93°)
OKLaboklab(39.47% 0.1367 -0.025)
OKLCHoklch(39.47% 0.139 349.6)
XYZxyz(9.6008, 5.3271, 8.3056)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A51 #1A7841
analogous
#701A78 #781A51 #781A22
triadic
#781A51 #51781A #1A5178
tetradic
#781A51 #78701A #1A7841 #1A2278
square
#781A51 #78701A #1A7841 #1A2278
split-complementary
#781A51 #22781A #1A7870
monochromatic
#190511 #460F2F #781A51 #AA2573 #D43893

Accessibility & contrast

On white

10.17
#781A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A51
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A51#FFFFFF#000000##FFFFFF
##781A511.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#45474F
Tritanopia (blue-blind)
#811433
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781a51;
/* rgb */ color: rgb(120, 26, 81);
/* oklch */ color: oklch(39.5% 0.139 349.6);
Tailwind
colors: {
  custom: {
    50: '#a36181',
    500: '#781a51',
    950: '#000000',
  },
}
SCSS
$custom: #781a51;
$custom-light: #a36181;
$custom-dark: #000000;
JSON
{
  "hex": "#781a51",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 81
  },
  "hsl": {
    "h": 324.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.13896,
    "h": 349.6
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#781A51
secondary
#41AC6E
accent
#E78640
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781A51

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

Preview Lab → · Contrast checker → · Palette generator →

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