#781C68#781C68

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

Color values

HEX#781C68
RGBrgb(120, 28, 104)
HSLhsl(310, 62%, 29%)
HSVhsv(310, 77%, 47%)
CMYKcmyk(0%, 76.7%, 13.3%, 52.9%)
CIE-LABlab(28.96, 47.31, -22.59)
CIE-LCHlch(28.96, 52.43, 334.48°)
OKLaboklab(40.77% 0.1388 -0.0616)
OKLCHoklch(40.77% 0.152 336.1)
XYZxyz(10.6598, 5.8240, 13.6568)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C68 #1C782C
analogous
#5A1C78 #781C68 #781C3A
triadic
#781C68 #68781C #1C6878
tetradic
#781C68 #785A1C #1C782C #1C3A78
square
#781C68 #785A1C #1C782C #1C3A78
split-complementary
#781C68 #3A781C #1C785A
monochromatic
#190616 #46103D #781C68 #AA2893 #D23DB8

Accessibility & contrast

On white

9.70
#781C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C68
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C68#FFFFFF#000000##FFFFFF
##781C681.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781c68;
/* rgb */ color: rgb(120, 28, 104);
/* oklch */ color: oklch(40.8% 0.152 336.1);
Tailwind
colors: {
  custom: {
    50: '#a26393',
    500: '#781c68',
    950: '#000000',
  },
}
SCSS
$custom: #781c68;
$custom-light: #a26393;
$custom-dark: #000000;
JSON
{
  "hex": "#781c68",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 310.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.15181,
    "h": 336.1
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#781C68
secondary
#44AC56
accent
#E55F43
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781C68

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

Preview Lab → · Contrast checker → · Palette generator →

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