#781A63#781A63

#781A63 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 338.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#781A63
RGBrgb(120, 26, 99)
HSLhsl(313, 64%, 29%)
HSVhsv(313, 78%, 47%)
CMYKcmyk(0%, 78.3%, 17.5%, 52.9%)
CIE-LABlab(28.47, 47.22, -20.13)
CIE-LCHlch(28.47, 51.33, 336.92°)
OKLaboklab(40.33% 0.1402 -0.0545)
OKLCHoklch(40.33% 0.15 338.7)
XYZxyz(10.3675, 5.6337, 12.3434)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A63 #1A782F
analogous
#5E1A78 #781A63 #781A34
triadic
#781A63 #63781A #1A6378
tetradic
#781A63 #785E1A #1A782F #1A3478
square
#781A63 #785E1A #1A782F #1A3478
split-complementary
#781A63 #34781A #1A785E
monochromatic
#190515 #460F3A #781A63 #AA258C #D438B1

Accessibility & contrast

On white

9.87
#781A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A63
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A63#FFFFFF#000000##FFFFFF
##781A631.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#3F4861
Tritanopia (blue-blind)
#7F1E3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781a63;
/* rgb */ color: rgb(120, 26, 99);
/* oklch */ color: oklch(40.3% 0.150 338.7);
Tailwind
colors: {
  custom: {
    50: '#a2628f',
    500: '#781a63',
    950: '#000000',
  },
}
SCSS
$custom: #781a63;
$custom-light: #a2628f;
$custom-dark: #000000;
JSON
{
  "hex": "#781a63",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 313.404,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.15045,
    "h": 338.7
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#781A63
secondary
#41AC59
accent
#E76640
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781A63

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

Preview Lab → · Contrast checker → · Palette generator →

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