#781C56#781C56

#781C56 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 346.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#781C56
RGBrgb(120, 28, 86)
HSLhsl(322, 62%, 29%)
HSVhsv(322, 77%, 47%)
CMYKcmyk(0%, 76.7%, 28.3%, 52.9%)
CIE-LABlab(28.10, 44.68, -12.18)
CIE-LCHlch(28.10, 46.31, 344.75°)
OKLaboklab(39.87% 0.1357 -0.0322)
OKLCHoklch(39.87% 0.14 346.7)
XYZxyz(9.8411, 5.4965, 9.3450)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C56 #1C783E
analogous
#6C1C78 #781C56 #781C28
triadic
#781C56 #56781C #1C5678
tetradic
#781C56 #786C1C #1C783E #1C2878
square
#781C56 #786C1C #1C783E #1C2878
split-complementary
#781C56 #28781C #1C786C
monochromatic
#190612 #461032 #781C56 #AA287A #D23D9B

Accessibility & contrast

On white

10.00
#781C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C56
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C56#FFFFFF#000000##FFFFFF
##781C561.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293858
Deuteranopia (green-blind)
#444854
Tritanopia (blue-blind)
#811936
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781c56;
/* rgb */ color: rgb(120, 28, 86);
/* oklch */ color: oklch(39.9% 0.140 346.7);
Tailwind
colors: {
  custom: {
    50: '#a36285',
    500: '#781c56',
    950: '#000000',
  },
}
SCSS
$custom: #781c56;
$custom-light: #a36285;
$custom-dark: #000000;
JSON
{
  "hex": "#781c56",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 322.174,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.13951,
    "h": 346.7
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#781C56
secondary
#44AC6A
accent
#E57F43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781C56

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

Preview Lab → · Contrast checker → · Palette generator →

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