#781E56#781E56

#781E56 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.137 H 346.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#781E56
RGBrgb(120, 30, 86)
HSLhsl(323, 60%, 29%)
HSVhsv(323, 75%, 47%)
CMYKcmyk(0%, 75%, 28.3%, 52.9%)
CIE-LABlab(28.37, 43.94, -11.78)
CIE-LCHlch(28.37, 45.50, 344.99°)
OKLaboklab(40.06% 0.1335 -0.0311)
OKLCHoklch(40.06% 0.137 346.9)
XYZxyz(9.8902, 5.5946, 9.3613)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E56 #1E7840
analogous
#6D1E78 #781E56 #781E29
triadic
#781E56 #56781E #1E5678
tetradic
#781E56 #786D1E #1E7840 #1E2978
square
#781E56 #786D1E #1E7840 #1E2978
split-complementary
#781E56 #29781E #1E786D
monochromatic
#180612 #471233 #781E56 #A92A79 #CF419A

Accessibility & contrast

On white

9.91
#781E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E56
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E56#FFFFFF#000000##FFFFFF
##781E561.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#811B37
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e56;
/* rgb */ color: rgb(120, 30, 86);
/* oklch */ color: oklch(40.1% 0.137 346.9);
Tailwind
colors: {
  custom: {
    50: '#a26385',
    500: '#781e56',
    950: '#000000',
  },
}
SCSS
$custom: #781e56;
$custom-light: #a26385;
$custom-dark: #000000;
JSON
{
  "hex": "#781e56",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 322.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.13704,
    "h": 346.9
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#781E56
secondary
#46AC6C
accent
#E38145
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E56

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

Preview Lab → · Contrast checker → · Palette generator →

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