#781D64#781D64

#781D64 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.148 H 338.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#781D64
RGBrgb(120, 29, 100)
HSLhsl(313, 61%, 29%)
HSVhsv(313, 76%, 47%)
CMYKcmyk(0%, 75.8%, 16.7%, 52.9%)
CIE-LABlab(28.88, 46.34, -20.13)
CIE-LCHlch(28.88, 50.52, 336.52°)
OKLaboklab(40.65% 0.1372 -0.0546)
OKLCHoklch(40.65% 0.148 338.3)
XYZxyz(10.4856, 5.7929, 12.6200)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D64 #1D7831
analogous
#5F1D78 #781D64 #781D37
triadic
#781D64 #64781D #1D6478
tetradic
#781D64 #785F1D #1D7831 #1D3778
square
#781D64 #785F1D #1D7831 #1D3778
split-complementary
#781D64 #37781D #1D785F
monochromatic
#190615 #47113B #781D64 #A9298D #D13FB1

Accessibility & contrast

On white

9.73
#781D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D64
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D64#FFFFFF#000000##FFFFFF
##781D641.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#404962
Tritanopia (blue-blind)
#7F213E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781d64;
/* rgb */ color: rgb(120, 29, 100);
/* oklch */ color: oklch(40.6% 0.148 338.3);
Tailwind
colors: {
  custom: {
    50: '#a26390',
    500: '#781d64',
    950: '#000000',
  },
}
SCSS
$custom: #781d64;
$custom-light: #a26390;
$custom-dark: #000000;
JSON
{
  "hex": "#781d64",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 313.187,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40647,
    "c": 0.14768,
    "h": 338.3
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#781D64
secondary
#45AC5C
accent
#E46744
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781D64

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

Preview Lab → · Contrast checker → · Palette generator →

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