#781A54#781A54

#781A54 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.141 H 347.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#781A54
RGBrgb(120, 26, 84)
HSLhsl(323, 64%, 29%)
HSVhsv(323, 78%, 47%)
CMYKcmyk(0%, 78.3%, 30%, 52.9%)
CIE-LABlab(27.77, 45.11, -11.36)
CIE-LCHlch(27.77, 46.52, 345.86°)
OKLaboklab(39.6% 0.1374 -0.0299)
OKLCHoklch(39.6% 0.141 347.7)
XYZxyz(9.7158, 5.3731, 8.9112)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A54 #1A783E
analogous
#6D1A78 #781A54 #781A25
triadic
#781A54 #54781A #1A5478
tetradic
#781A54 #786D1A #1A783E #1A2578
square
#781A54 #786D1A #1A783E #1A2578
split-complementary
#781A54 #25781A #1A786D
monochromatic
#190512 #460F31 #781A54 #AA2577 #D43898

Accessibility & contrast

On white

10.12
#781A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A54
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A54#FFFFFF#000000##FFFFFF
##781A541.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283756
Deuteranopia (green-blind)
#444752
Tritanopia (blue-blind)
#811635
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a54;
/* rgb */ color: rgb(120, 26, 84);
/* oklch */ color: oklch(39.6% 0.141 347.7);
Tailwind
colors: {
  custom: {
    50: '#a36184',
    500: '#781a54',
    950: '#000000',
  },
}
SCSS
$custom: #781a54;
$custom-light: #a36184;
$custom-dark: #000000;
JSON
{
  "hex": "#781a54",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 322.979,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39598,
    "c": 0.14067,
    "h": 347.7
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#781A54
secondary
#41AC6A
accent
#E78040
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781A54

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

Preview Lab → · Contrast checker → · Palette generator →

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