#781D68#781D68

#781D68 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.151 H 336.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#781D68
RGBrgb(120, 29, 104)
HSLhsl(311, 61%, 29%)
HSVhsv(311, 76%, 47%)
CMYKcmyk(0%, 75.8%, 13.3%, 52.9%)
CIE-LABlab(29.09, 46.96, -22.40)
CIE-LCHlch(29.09, 52.03, 334.50°)
OKLaboklab(40.86% 0.1377 -0.061)
OKLCHoklch(40.86% 0.151 336.1)
XYZxyz(10.6839, 5.8722, 13.6648)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D68 #1D782D
analogous
#5B1D78 #781D68 #781D3B
triadic
#781D68 #68781D #1D6878
tetradic
#781D68 #785B1D #1D782D #1D3B78
square
#781D68 #785B1D #1D782D #1D3B78
split-complementary
#781D68 #3B781D #1D785B
monochromatic
#190615 #47113D #781D68 #A92993 #D13FB7

Accessibility & contrast

On white

9.66
#781D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D68
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D68#FFFFFF#000000##FFFFFF
##781D681.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#3E4966
Tritanopia (blue-blind)
#7E2340
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781d68;
/* rgb */ color: rgb(120, 29, 104);
/* oklch */ color: oklch(40.9% 0.151 336.1);
Tailwind
colors: {
  custom: {
    50: '#a26393',
    500: '#781d68',
    950: '#000000',
  },
}
SCSS
$custom: #781d68;
$custom-light: #a26393;
$custom-dark: #000000;
JSON
{
  "hex": "#781d68",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 310.549,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.15063,
    "h": 336.1
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#781D68
secondary
#45AC57
accent
#E46044
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781D68

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

Preview Lab → · Contrast checker → · Palette generator →

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