#781A4D#781A4D

#781A4D is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 352.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#781A4D
RGBrgb(120, 26, 77)
HSLhsl(327, 64%, 29%)
HSVhsv(327, 78%, 47%)
CMYKcmyk(0%, 78.3%, 35.8%, 52.9%)
CIE-LABlab(27.49, 44.23, -7.15)
CIE-LCHlch(27.49, 44.80, 350.82°)
OKLaboklab(39.3% 0.1356 -0.0184)
OKLCHoklch(39.3% 0.137 352.3)
XYZxyz(9.4552, 5.2688, 7.5388)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A4D #1A7845
analogous
#741A78 #781A4D #781A1E
triadic
#781A4D #4D781A #1A4D78
tetradic
#781A4D #78741A #1A7845 #1A1E78
square
#781A4D #78741A #1A7845 #1A1E78
split-complementary
#781A4D #1E781A #1A7874
monochromatic
#190510 #460F2D #781A4D #AA256D #D4388D

Accessibility & contrast

On white

10.23
#781A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#781A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A4D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A4D#FFFFFF#000000##FFFFFF
##781A4D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#46474B
Tritanopia (blue-blind)
#821231
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781a4d;
/* rgb */ color: rgb(120, 26, 77);
/* oklch */ color: oklch(39.3% 0.137 352.3);
Tailwind
colors: {
  custom: {
    50: '#a3617e',
    500: '#781a4d',
    950: '#000000',
  },
}
SCSS
$custom: #781a4d;
$custom-light: #a3617e;
$custom-dark: #000000;
JSON
{
  "hex": "#781a4d",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 327.447,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.13683,
    "h": 352.3
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#781A4D
secondary
#41AC72
accent
#E78D40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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