#781E5A#781E5A

#781E5A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.140 H 344.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#781E5A
RGBrgb(120, 30, 90)
HSLhsl(320, 60%, 29%)
HSVhsv(320, 75%, 47%)
CMYKcmyk(0%, 75%, 25%, 52.9%)
CIE-LABlab(28.54, 44.50, -14.14)
CIE-LCHlch(28.54, 46.69, 342.37°)
OKLaboklab(40.24% 0.1344 -0.0377)
OKLCHoklch(40.24% 0.14 344.3)
XYZxyz(10.0559, 5.6609, 10.2340)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E5A #1E783C
analogous
#691E78 #781E5A #781E2D
triadic
#781E5A #5A781E #1E5A78
tetradic
#781E5A #78691E #1E783C #1E2D78
square
#781E5A #78691E #1E783C #1E2D78
split-complementary
#781E5A #2D781E #1E7869
monochromatic
#180612 #471235 #781E5A #A92A7F #CF41A0

Accessibility & contrast

On white

9.85
#781E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E5A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E5A#FFFFFF#000000##FFFFFF
##781E5A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#434958
Tritanopia (blue-blind)
#801D39
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e5a;
/* rgb */ color: rgb(120, 30, 90);
/* oklch */ color: oklch(40.2% 0.140 344.3);
Tailwind
colors: {
  custom: {
    50: '#a26388',
    500: '#781e5a',
    950: '#000000',
  },
}
SCSS
$custom: #781e5a;
$custom-light: #a26388;
$custom-dark: #000000;
JSON
{
  "hex": "#781e5a",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 320,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.13956,
    "h": 344.3
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#781E5A
secondary
#46AC68
accent
#E37945
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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