#781E5B#781E5B

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

Color values

HEX#781E5B
RGBrgb(120, 30, 91)
HSLhsl(319, 60%, 29%)
HSVhsv(319, 75%, 47%)
CMYKcmyk(0%, 75%, 24.2%, 52.9%)
CIE-LABlab(28.59, 44.64, -14.73)
CIE-LCHlch(28.59, 47.01, 341.74°)
OKLaboklab(40.29% 0.1346 -0.0393)
OKLCHoklch(40.29% 0.14 343.7)
XYZxyz(10.0987, 5.6780, 10.4596)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E5B #1E783B
analogous
#681E78 #781E5B #781E2E
triadic
#781E5B #5B781E #1E5B78
tetradic
#781E5B #78681E #1E783B #1E2E78
square
#781E5B #78681E #1E783B #1E2E78
split-complementary
#781E5B #2E781E #1E7868
monochromatic
#180613 #471236 #781E5B #A92A80 #CF41A2

Accessibility & contrast

On white

9.83
#781E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E5B
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E5B#FFFFFF#000000##FFFFFF
##781E5B1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#801E3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781e5b;
/* rgb */ color: rgb(120, 30, 91);
/* oklch */ color: oklch(40.3% 0.140 343.7);
Tailwind
colors: {
  custom: {
    50: '#a26389',
    500: '#781e5b',
    950: '#000000',
  },
}
SCSS
$custom: #781e5b;
$custom-light: #a26389;
$custom-dark: #000000;
JSON
{
  "hex": "#781e5b",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 319.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.14021,
    "h": 343.7
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#781E5B
secondary
#46AC67
accent
#E37845
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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