#781C4A#781C4A

#781C4A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.133 H 354.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#781C4A
RGBrgb(120, 28, 74)
HSLhsl(330, 62%, 29%)
HSVhsv(330, 77%, 47%)
CMYKcmyk(0%, 76.7%, 38.3%, 52.9%)
CIE-LABlab(27.63, 43.16, -4.94)
CIE-LCHlch(27.63, 43.45, 353.47°)
OKLaboklab(39.36% 0.1324 -0.0125)
OKLCHoklch(39.36% 0.133 354.6)
XYZxyz(9.3976, 5.3191, 7.0090)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C4A #1C784A
analogous
#781C78 #781C4A #781C1C
triadic
#781C4A #4A781C #1C4A78
tetradic
#781C4A #78781C #1C784A #1C1C78
square
#781C4A #78781C #1C784A #1C1C78
split-complementary
#781C4A #1C781C #1C7878
monochromatic
#19060F #46102B #781C4A #AA2869 #D23D87

Accessibility & contrast

On white

10.18
#781C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#781C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C4A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C4A#FFFFFF#000000##FFFFFF
##781C4A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E364B
Deuteranopia (green-blind)
#474748
Tritanopia (blue-blind)
#821230
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781c4a;
/* rgb */ color: rgb(120, 28, 74);
/* oklch */ color: oklch(39.4% 0.133 354.6);
Tailwind
colors: {
  custom: {
    50: '#a3617c',
    500: '#781c4a',
    950: '#000000',
  },
}
SCSS
$custom: #781c4a;
$custom-light: #a3617c;
$custom-dark: #000000;
JSON
{
  "hex": "#781c4a",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 330,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.13302,
    "h": 354.6
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#781C4A
secondary
#44AC78
accent
#E59443
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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