#781E57#781E57

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

Color values

HEX#781E57
RGBrgb(120, 30, 87)
HSLhsl(322, 60%, 29%)
HSVhsv(322, 75%, 47%)
CMYKcmyk(0%, 75%, 27.5%, 52.9%)
CIE-LABlab(28.41, 44.08, -12.37)
CIE-LCHlch(28.41, 45.78, 344.32°)
OKLaboklab(40.1% 0.1337 -0.0328)
OKLCHoklch(40.1% 0.138 346.2)
XYZxyz(9.9307, 5.6108, 9.5750)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E57 #1E783F
analogous
#6C1E78 #781E57 #781E2A
triadic
#781E57 #57781E #1E5778
tetradic
#781E57 #786C1E #1E783F #1E2A78
square
#781E57 #786C1E #1E783F #1E2A78
split-complementary
#781E57 #2A781E #1E786C
monochromatic
#180612 #471234 #781E57 #A92A7A #CF419B

Accessibility & contrast

On white

9.90
#781E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E57
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E57#FFFFFF#000000##FFFFFF
##781E571.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#444955
Tritanopia (blue-blind)
#811C37
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e57;
/* rgb */ color: rgb(120, 30, 87);
/* oklch */ color: oklch(40.1% 0.138 346.2);
Tailwind
colors: {
  custom: {
    50: '#a26386',
    500: '#781e57',
    950: '#000000',
  },
}
SCSS
$custom: #781e57;
$custom-light: #a26386;
$custom-dark: #000000;
JSON
{
  "hex": "#781e57",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 322,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.13766,
    "h": 346.2
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#781E57
secondary
#46AC6B
accent
#E37F45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E57

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

Preview Lab → · Contrast checker → · Palette generator →

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