#781E54#781E54

#781E54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.136 H 348.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#781E54
RGBrgb(120, 30, 84)
HSLhsl(324, 60%, 29%)
HSVhsv(324, 75%, 47%)
CMYKcmyk(0%, 75%, 30%, 52.9%)
CIE-LABlab(28.28, 43.68, -10.59)
CIE-LCHlch(28.28, 44.94, 346.37°)
OKLaboklab(39.97% 0.133 -0.0278)
OKLCHoklch(39.97% 0.136 348.2)
XYZxyz(9.8107, 5.5628, 8.9429)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E54 #1E7842
analogous
#6F1E78 #781E54 #781E27
triadic
#781E54 #54781E #1E5478
tetradic
#781E54 #786F1E #1E7842 #1E2778
square
#781E54 #786F1E #1E7842 #1E2778
split-complementary
#781E54 #27781E #1E786F
monochromatic
#180611 #471232 #781E54 #A92A76 #CF4196

Accessibility & contrast

On white

9.94
#781E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E54
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E54#FFFFFF#000000##FFFFFF
##781E541.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3955
Deuteranopia (green-blind)
#454852
Tritanopia (blue-blind)
#811A36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e54;
/* rgb */ color: rgb(120, 30, 84);
/* oklch */ color: oklch(40.0% 0.136 348.2);
Tailwind
colors: {
  custom: {
    50: '#a36384',
    500: '#781e54',
    950: '#000000',
  },
}
SCSS
$custom: #781e54;
$custom-light: #a36384;
$custom-dark: #000000;
JSON
{
  "hex": "#781e54",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 324,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.13584,
    "h": 348.2
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#781E54
secondary
#46AC6F
accent
#E38445
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #781E54

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

Preview Lab → · Contrast checker → · Palette generator →

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