#781D54#781D54

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

Color values

HEX#781D54
RGBrgb(120, 29, 84)
HSLhsl(324, 61%, 29%)
HSVhsv(324, 76%, 47%)
CMYKcmyk(0%, 75.8%, 30%, 52.9%)
CIE-LABlab(28.15, 44.05, -10.79)
CIE-LCHlch(28.15, 45.35, 346.23°)
OKLaboklab(39.87% 0.1341 -0.0284)
OKLCHoklch(39.87% 0.137 348)
XYZxyz(9.7858, 5.5130, 8.9346)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D54 #1D7841
analogous
#6F1D78 #781D54 #781D27
triadic
#781D54 #54781D #1D5478
tetradic
#781D54 #786F1D #1D7841 #1D2778
square
#781D54 #786F1D #1D7841 #1D2778
split-complementary
#781D54 #27781D #1D786F
monochromatic
#190611 #471131 #781D54 #A92977 #D13F97

Accessibility & contrast

On white

9.99
#781D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D54
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D54#FFFFFF#000000##FFFFFF
##781D541.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3855
Deuteranopia (green-blind)
#454852
Tritanopia (blue-blind)
#811936
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781d54;
/* rgb */ color: rgb(120, 29, 84);
/* oklch */ color: oklch(39.9% 0.137 348.0);
Tailwind
colors: {
  custom: {
    50: '#a36284',
    500: '#781d54',
    950: '#000000',
  },
}
SCSS
$custom: #781d54;
$custom-light: #a36284;
$custom-dark: #000000;
JSON
{
  "hex": "#781d54",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 323.736,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.13709,
    "h": 348
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#781D54
secondary
#45AC6E
accent
#E48344
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781D54

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

Preview Lab → · Contrast checker → · Palette generator →

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