#781E66#781E66

#781E66 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 337.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#781E66
RGBrgb(120, 30, 102)
HSLhsl(312, 60%, 29%)
HSVhsv(312, 75%, 47%)
CMYKcmyk(0%, 75%, 15%, 52.9%)
CIE-LABlab(29.11, 46.29, -21.07)
CIE-LCHlch(29.11, 50.85, 335.53°)
OKLaboklab(40.85% 0.1364 -0.0572)
OKLCHoklch(40.85% 0.148 337.2)
XYZxyz(10.6085, 5.8819, 13.1444)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E66 #1E7830
analogous
#5D1E78 #781E66 #781E39
triadic
#781E66 #66781E #1E6678
tetradic
#781E66 #785D1E #1E7830 #1E3978
square
#781E66 #785D1E #1E7830 #1E3978
split-complementary
#781E66 #39781E #1E785D
monochromatic
#180615 #47123C #781E66 #A92A90 #CF41B3

Accessibility & contrast

On white

9.65
#781E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E66
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E66#FFFFFF#000000##FFFFFF
##781E661.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#3F4A64
Tritanopia (blue-blind)
#7F233F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781e66;
/* rgb */ color: rgb(120, 30, 102);
/* oklch */ color: oklch(40.8% 0.148 337.2);
Tailwind
colors: {
  custom: {
    50: '#a26392',
    500: '#781e66',
    950: '#000000',
  },
}
SCSS
$custom: #781e66;
$custom-light: #a26392;
$custom-dark: #000000;
JSON
{
  "hex": "#781e66",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 312,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.14793,
    "h": 337.2
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#781E66
secondary
#46AC5A
accent
#E36445
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #781E66

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

Preview Lab → · Contrast checker → · Palette generator →

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