#781C63#781C63

#781C63 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 338.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#781C63
RGBrgb(120, 28, 99)
HSLhsl(314, 62%, 29%)
HSVhsv(314, 77%, 47%)
CMYKcmyk(0%, 76.7%, 17.5%, 52.9%)
CIE-LABlab(28.71, 46.54, -19.75)
CIE-LCHlch(28.71, 50.56, 337.00°)
OKLaboklab(40.5% 0.1382 -0.0535)
OKLCHoklch(40.5% 0.148 338.8)
XYZxyz(10.4134, 5.7254, 12.3587)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C63 #1C7831
analogous
#5F1C78 #781C63 #781C35
triadic
#781C63 #63781C #1C6378
tetradic
#781C63 #785F1C #1C7831 #1C3578
square
#781C63 #785F1C #1C7831 #1C3578
split-complementary
#781C63 #35781C #1C785F
monochromatic
#190614 #46103A #781C63 #AA288C #D23DB0

Accessibility & contrast

On white

9.79
#781C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C63
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C63#FFFFFF#000000##FFFFFF
##781C631.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A65
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#7F203D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781c63;
/* rgb */ color: rgb(120, 28, 99);
/* oklch */ color: oklch(40.5% 0.148 338.8);
Tailwind
colors: {
  custom: {
    50: '#a2628f',
    500: '#781c63',
    950: '#000000',
  },
}
SCSS
$custom: #781c63;
$custom-light: #a2628f;
$custom-dark: #000000;
JSON
{
  "hex": "#781c63",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 313.696,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.14815,
    "h": 338.8
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#781C63
secondary
#44AC5C
accent
#E56843
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781C63

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

Preview Lab → · Contrast checker → · Palette generator →

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