#781A68#781A68

#781A68 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.154 H 336.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#781A68
RGBrgb(120, 26, 104)
HSLhsl(310, 64%, 29%)
HSVhsv(310, 78%, 47%)
CMYKcmyk(0%, 78.3%, 13.3%, 52.9%)
CIE-LABlab(28.73, 47.99, -22.96)
CIE-LCHlch(28.73, 53.20, 334.43°)
OKLaboklab(40.6% 0.1408 -0.0626)
OKLCHoklch(40.6% 0.154 336)
XYZxyz(10.6140, 5.7323, 13.6415)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A68 #1A782A
analogous
#591A78 #781A68 #781A39
triadic
#781A68 #68781A #1A6878
tetradic
#781A68 #78591A #1A782A #1A3978
square
#781A68 #78591A #1A782A #1A3978
split-complementary
#781A68 #39781A #1A7859
monochromatic
#190516 #460F3C #781A68 #AA2594 #D438B9

Accessibility & contrast

On white

9.78
#781A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A68
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A68#FFFFFF#000000##FFFFFF
##781A681.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#7E213F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781a68;
/* rgb */ color: rgb(120, 26, 104);
/* oklch */ color: oklch(40.6% 0.154 336.0);
Tailwind
colors: {
  custom: {
    50: '#a26293',
    500: '#781a68',
    950: '#000000',
  },
}
SCSS
$custom: #781a68;
$custom-light: #a26293;
$custom-dark: #000000;
JSON
{
  "hex": "#781a68",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 310.213,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.15408,
    "h": 336
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#781A68
secondary
#41AC54
accent
#E75D40
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781A68

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

Preview Lab → · Contrast checker → · Palette generator →

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