#781E55#781E55

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

Color values

HEX#781E55
RGBrgb(120, 30, 85)
HSLhsl(323, 60%, 29%)
HSVhsv(323, 75%, 47%)
CMYKcmyk(0%, 75%, 29.2%, 52.9%)
CIE-LABlab(28.32, 43.81, -11.18)
CIE-LCHlch(28.32, 45.21, 345.68°)
OKLaboklab(40.01% 0.1332 -0.0295)
OKLCHoklch(40.01% 0.136 347.5)
XYZxyz(9.8502, 5.5786, 9.1506)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E55 #1E7841
analogous
#6E1E78 #781E55 #781E28
triadic
#781E55 #55781E #1E5578
tetradic
#781E55 #786E1E #1E7841 #1E2878
square
#781E55 #786E1E #1E7841 #1E2878
split-complementary
#781E55 #28781E #1E786E
monochromatic
#180611 #471232 #781E55 #A92A78 #CF4198

Accessibility & contrast

On white

9.93
#781E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E55
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E55#FFFFFF#000000##FFFFFF
##781E551.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#454853
Tritanopia (blue-blind)
#811B36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e55;
/* rgb */ color: rgb(120, 30, 85);
/* oklch */ color: oklch(40.0% 0.136 347.5);
Tailwind
colors: {
  custom: {
    50: '#a26385',
    500: '#781e55',
    950: '#000000',
  },
}
SCSS
$custom: #781e55;
$custom-light: #a26385;
$custom-dark: #000000;
JSON
{
  "hex": "#781e55",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 323.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.13643,
    "h": 347.5
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#781E55
secondary
#46AC6E
accent
#E38245
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E55

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

Preview Lab → · Contrast checker → · Palette generator →

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