#781C66#781C66

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

Color values

HEX#781C66
RGBrgb(120, 28, 102)
HSLhsl(312, 62%, 29%)
HSVhsv(312, 77%, 47%)
CMYKcmyk(0%, 76.7%, 15%, 52.9%)
CIE-LABlab(28.86, 47.00, -21.46)
CIE-LCHlch(28.86, 51.67, 335.46°)
OKLaboklab(40.66% 0.1385 -0.0584)
OKLCHoklch(40.66% 0.15 337.2)
XYZxyz(10.5595, 5.7839, 13.1281)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C66 #1C782E
analogous
#5C1C78 #781C66 #781C38
triadic
#781C66 #66781C #1C6678
tetradic
#781C66 #785C1C #1C782E #1C3878
square
#781C66 #785C1C #1C782E #1C3878
split-complementary
#781C66 #38781C #1C785C
monochromatic
#190615 #46103C #781C66 #AA2890 #D23DB5

Accessibility & contrast

On white

9.74
#781C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C66
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C66#FFFFFF#000000##FFFFFF
##781C661.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#7F223F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781c66;
/* rgb */ color: rgb(120, 28, 102);
/* oklch */ color: oklch(40.7% 0.150 337.2);
Tailwind
colors: {
  custom: {
    50: '#a26292',
    500: '#781c66',
    950: '#000000',
  },
}
SCSS
$custom: #781c66;
$custom-light: #a26292;
$custom-dark: #000000;
JSON
{
  "hex": "#781c66",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 311.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.15033,
    "h": 337.2
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#781C66
secondary
#44AC58
accent
#E56243
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #781C66

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

Preview Lab → · Contrast checker → · Palette generator →

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