#781E68#781E68

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

Color values

HEX#781E68
RGBrgb(120, 30, 104)
HSLhsl(311, 60%, 29%)
HSVhsv(311, 75%, 47%)
CMYKcmyk(0%, 75%, 13.3%, 52.9%)
CIE-LABlab(29.22, 46.60, -22.20)
CIE-LCHlch(29.22, 51.62, 334.53°)
OKLaboklab(40.95% 0.1366 -0.0605)
OKLCHoklch(40.95% 0.149 336.1)
XYZxyz(10.7089, 5.9221, 13.6731)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E68 #1E782E
analogous
#5B1E78 #781E68 #781E3B
triadic
#781E68 #68781E #1E6878
tetradic
#781E68 #785B1E #1E782E #1E3B78
square
#781E68 #785B1E #1E782E #1E3B78
split-complementary
#781E68 #3B781E #1E785B
monochromatic
#180615 #47123E #781E68 #A92A92 #CF41B6

Accessibility & contrast

On white

9.61
#781E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E68
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E68#FFFFFF#000000##FFFFFF
##781E681.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#3E4A66
Tritanopia (blue-blind)
#7E2440
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781e68;
/* rgb */ color: rgb(120, 30, 104);
/* oklch */ color: oklch(41.0% 0.149 336.1);
Tailwind
colors: {
  custom: {
    50: '#a26393',
    500: '#781e68',
    950: '#000000',
  },
}
SCSS
$custom: #781e68;
$custom-light: #a26393;
$custom-dark: #000000;
JSON
{
  "hex": "#781e68",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 310.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40953,
    "c": 0.14943,
    "h": 336.1
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#781E68
secondary
#46AC58
accent
#E36145
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781E68

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

Preview Lab → · Contrast checker → · Palette generator →

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