#781D66#781D66

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

Color values

HEX#781D66
RGBrgb(120, 29, 102)
HSLhsl(312, 61%, 29%)
HSVhsv(312, 76%, 47%)
CMYKcmyk(0%, 75.8%, 15%, 52.9%)
CIE-LABlab(28.98, 46.65, -21.26)
CIE-LCHlch(28.98, 51.27, 335.49°)
OKLaboklab(40.75% 0.1375 -0.0578)
OKLCHoklch(40.75% 0.149 337.2)
XYZxyz(10.5836, 5.8321, 13.1361)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D66 #1D782F
analogous
#5D1D78 #781D66 #781D39
triadic
#781D66 #66781D #1D6678
tetradic
#781D66 #785D1D #1D782F #1D3978
square
#781D66 #785D1D #1D782F #1D3978
split-complementary
#781D66 #39781D #1D785D
monochromatic
#190615 #47113C #781D66 #A92990 #D13FB4

Accessibility & contrast

On white

9.69
#781D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D66
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D66#FFFFFF#000000##FFFFFF
##781D661.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B68
Deuteranopia (green-blind)
#3F4964
Tritanopia (blue-blind)
#7F223F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781d66;
/* rgb */ color: rgb(120, 29, 102);
/* oklch */ color: oklch(40.8% 0.149 337.2);
Tailwind
colors: {
  custom: {
    50: '#a26392',
    500: '#781d66',
    950: '#000000',
  },
}
SCSS
$custom: #781d66;
$custom-light: #a26392;
$custom-dark: #000000;
JSON
{
  "hex": "#781d66",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 311.868,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.14915,
    "h": 337.2
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#781D66
secondary
#45AC59
accent
#E46344
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #781D66

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

Preview Lab → · Contrast checker → · Palette generator →

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