#781E4A#781E4A

#781E4A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.131 H 355.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#781E4A
RGBrgb(120, 30, 74)
HSLhsl(331, 60%, 29%)
HSVhsv(331, 75%, 47%)
CMYKcmyk(0%, 75%, 38.3%, 52.9%)
CIE-LABlab(27.89, 42.42, -4.54)
CIE-LCHlch(27.89, 42.66, 353.89°)
OKLaboklab(39.56% 0.1301 -0.0114)
OKLCHoklch(39.56% 0.131 355)
XYZxyz(9.4466, 5.4172, 7.0254)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E4A #1E784C
analogous
#781E77 #781E4A #781F1E
triadic
#781E4A #4A781E #1E4A78
tetradic
#781E4A #77781E #1E784C #1F1E78
square
#781E4A #77781E #1E784C #1F1E78
split-complementary
#781E4A #1E781F #1E7778
monochromatic
#18060F #47122C #781E4A #A92A68 #CF4187

Accessibility & contrast

On white

10.08
#781E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E4A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E4A#FFFFFF#000000##FFFFFF
##781E4A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#821531
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e4a;
/* rgb */ color: rgb(120, 30, 74);
/* oklch */ color: oklch(39.6% 0.131 355.0);
Tailwind
colors: {
  custom: {
    50: '#a3627c',
    500: '#781e4a',
    950: '#000000',
  },
}
SCSS
$custom: #781e4a;
$custom-light: #a3627c;
$custom-dark: #000000;
JSON
{
  "hex": "#781e4a",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 330.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.13056,
    "h": 355
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#781E4A
secondary
#46AC7A
accent
#E39645
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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